Structures
VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM
Structure specifying semi-structured sparsity parameters of a tensor data graph pipeline constant
The VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM
structure is defined as:
typedef struct VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM {
VkStructureType sType;
const void* pNext;
uint32_t dimension;
uint32_t zeroCount;
uint32_t groupSize;
} VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM;
pub struct DataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM {
s_type: vk::StructureType,
p_next: *const c_void,
dimension: u32,
zero_count: u32,
group_size: u32,
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.dimensionis the dimension of the tensor along which its data is sparse.zeroCountis the number of tensor elements that must be zero in every group ofgroupSizeelements.groupSizeis the number of tensor elements in a group.
This extension does not provide applications with a way of knowing which
combinations of
dimension, zeroCount, and groupSize an
implementation can take advantage of.
Providing sparsity information for a graph constant is always valid and
recommended, regardless of the specific combinations an implementation can
take advantage of.
When they can not take advantage of the sparsity information,
implementations will ignore it and treat the data as dense.Valid Usage (Implicit)
VUID-VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM-sType-sType
sType must be VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_CONSTANT_TENSOR_SEMI_STRUCTURED_SPARSITY_INFO_ARM