[{"data":1,"prerenderedAt":480},["ShallowReactive",2],{"$fw-V1C3uhDgkYkq_rN1ReAEG1LOFowMDwnvZWlnpsZrk":3},{"title":4,"description":5,"parent":6,"structextends":7,"type":9,"xrefs":10,"body":11,"_type":479,"_id":4},"VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM","Structure specifying semi-structured sparsity parameters of a tensor data graph pipeline constant","VK_ARM_data_graph",[8],"VkDataGraphPipelineConstantARM","structs",[],{"type":12,"children":13,"toc":477},"root",[14,30,303,394,440,471],{"type":15,"tag":16,"props":17,"children":18},"element","p",{},[19,22,28],{"type":20,"value":21},"text","The ",{"type":15,"tag":23,"props":24,"children":26},"code",{"className":25},[],[27],{"type":20,"value":4},{"type":20,"value":29},"\nstructure is defined as:",{"type":15,"tag":31,"props":32,"children":33},"code-group",{},[34,146],{"type":15,"tag":35,"props":36,"children":42},"pre",{"className":37,"code":38,"filename":39,"language":40,"meta":41,"style":41},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM {\n VkStructureType sType;\n const void* pNext;\n uint32_t dimension;\n uint32_t zeroCount;\n uint32_t groupSize;\n} VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM;\n","C","c","",[43],{"type":15,"tag":23,"props":44,"children":45},{"__ignoreMap":41},[46,69,78,97,111,124,137],{"type":15,"tag":47,"props":48,"children":51},"span",{"class":49,"line":50},"line",1,[52,58,63],{"type":15,"tag":47,"props":53,"children":55},{"style":54},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[56],{"type":20,"value":57},"typedef",{"type":15,"tag":47,"props":59,"children":60},{"style":54},[61],{"type":20,"value":62}," struct",{"type":15,"tag":47,"props":64,"children":66},{"style":65},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[67],{"type":20,"value":68}," VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM {\n",{"type":15,"tag":47,"props":70,"children":72},{"class":49,"line":71},2,[73],{"type":15,"tag":47,"props":74,"children":75},{"style":65},[76],{"type":20,"value":77}," VkStructureType sType;\n",{"type":15,"tag":47,"props":79,"children":81},{"class":49,"line":80},3,[82,87,92],{"type":15,"tag":47,"props":83,"children":84},{"style":54},[85],{"type":20,"value":86}," const",{"type":15,"tag":47,"props":88,"children":89},{"style":54},[90],{"type":20,"value":91}," void*",{"type":15,"tag":47,"props":93,"children":94},{"style":65},[95],{"type":20,"value":96}," pNext;\n",{"type":15,"tag":47,"props":98,"children":100},{"class":49,"line":99},4,[101,106],{"type":15,"tag":47,"props":102,"children":103},{"style":54},[104],{"type":20,"value":105}," uint32_t",{"type":15,"tag":47,"props":107,"children":108},{"style":65},[109],{"type":20,"value":110}," dimension;\n",{"type":15,"tag":47,"props":112,"children":114},{"class":49,"line":113},5,[115,119],{"type":15,"tag":47,"props":116,"children":117},{"style":54},[118],{"type":20,"value":105},{"type":15,"tag":47,"props":120,"children":121},{"style":65},[122],{"type":20,"value":123}," zeroCount;\n",{"type":15,"tag":47,"props":125,"children":127},{"class":49,"line":126},6,[128,132],{"type":15,"tag":47,"props":129,"children":130},{"style":54},[131],{"type":20,"value":105},{"type":15,"tag":47,"props":133,"children":134},{"style":65},[135],{"type":20,"value":136}," groupSize;\n",{"type":15,"tag":47,"props":138,"children":140},{"class":49,"line":139},7,[141],{"type":15,"tag":47,"props":142,"children":143},{"style":65},[144],{"type":20,"value":145},"} VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM;\n",{"type":15,"tag":35,"props":147,"children":152},{"className":148,"code":149,"filename":150,"language":151,"meta":41,"style":41},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct DataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM {\n s_type: vk::StructureType,\n p_next: *const c_void,\n dimension: u32,\n zero_count: u32,\n group_size: u32,\n}\n","Rust","rs",[153],{"type":15,"tag":23,"props":154,"children":155},{"__ignoreMap":41},[156,179,212,234,255,275,295],{"type":15,"tag":47,"props":157,"children":158},{"class":49,"line":50},[159,164,168,174],{"type":15,"tag":47,"props":160,"children":161},{"style":54},[162],{"type":20,"value":163},"pub",{"type":15,"tag":47,"props":165,"children":166},{"style":54},[167],{"type":20,"value":62},{"type":15,"tag":47,"props":169,"children":171},{"style":170},"--shiki-default:#953800;--shiki-dark:#FFA657",[172],{"type":20,"value":173}," DataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM",{"type":15,"tag":47,"props":175,"children":176},{"style":65},[177],{"type":20,"value":178}," {\n",{"type":15,"tag":47,"props":180,"children":181},{"class":49,"line":71},[182,187,192,197,202,207],{"type":15,"tag":47,"props":183,"children":184},{"style":65},[185],{"type":20,"value":186}," s_type",{"type":15,"tag":47,"props":188,"children":189},{"style":54},[190],{"type":20,"value":191},":",{"type":15,"tag":47,"props":193,"children":194},{"style":170},[195],{"type":20,"value":196}," vk",{"type":15,"tag":47,"props":198,"children":199},{"style":54},[200],{"type":20,"value":201},"::",{"type":15,"tag":47,"props":203,"children":204},{"style":170},[205],{"type":20,"value":206},"StructureType",{"type":15,"tag":47,"props":208,"children":209},{"style":65},[210],{"type":20,"value":211},",\n",{"type":15,"tag":47,"props":213,"children":214},{"class":49,"line":80},[215,220,224,229],{"type":15,"tag":47,"props":216,"children":217},{"style":65},[218],{"type":20,"value":219}," p_next",{"type":15,"tag":47,"props":221,"children":222},{"style":54},[223],{"type":20,"value":191},{"type":15,"tag":47,"props":225,"children":226},{"style":54},[227],{"type":20,"value":228}," *const",{"type":15,"tag":47,"props":230,"children":231},{"style":65},[232],{"type":20,"value":233}," c_void,\n",{"type":15,"tag":47,"props":235,"children":236},{"class":49,"line":99},[237,242,246,251],{"type":15,"tag":47,"props":238,"children":239},{"style":65},[240],{"type":20,"value":241}," dimension",{"type":15,"tag":47,"props":243,"children":244},{"style":54},[245],{"type":20,"value":191},{"type":15,"tag":47,"props":247,"children":248},{"style":170},[249],{"type":20,"value":250}," u32",{"type":15,"tag":47,"props":252,"children":253},{"style":65},[254],{"type":20,"value":211},{"type":15,"tag":47,"props":256,"children":257},{"class":49,"line":113},[258,263,267,271],{"type":15,"tag":47,"props":259,"children":260},{"style":65},[261],{"type":20,"value":262}," zero_count",{"type":15,"tag":47,"props":264,"children":265},{"style":54},[266],{"type":20,"value":191},{"type":15,"tag":47,"props":268,"children":269},{"style":170},[270],{"type":20,"value":250},{"type":15,"tag":47,"props":272,"children":273},{"style":65},[274],{"type":20,"value":211},{"type":15,"tag":47,"props":276,"children":277},{"class":49,"line":126},[278,283,287,291],{"type":15,"tag":47,"props":279,"children":280},{"style":65},[281],{"type":20,"value":282}," group_size",{"type":15,"tag":47,"props":284,"children":285},{"style":54},[286],{"type":20,"value":191},{"type":15,"tag":47,"props":288,"children":289},{"style":170},[290],{"type":20,"value":250},{"type":15,"tag":47,"props":292,"children":293},{"style":65},[294],{"type":20,"value":211},{"type":15,"tag":47,"props":296,"children":297},{"class":49,"line":139},[298],{"type":15,"tag":47,"props":299,"children":300},{"style":65},[301],{"type":20,"value":302},"}\n",{"type":15,"tag":304,"props":305,"children":306},"ul",{},[307,328,347,358,384],{"type":15,"tag":308,"props":309,"children":310},"li",{},[311,317,319,326],{"type":15,"tag":23,"props":312,"children":314},{"className":313},[],[315],{"type":20,"value":316},"sType",{"type":20,"value":318}," is a ",{"type":15,"tag":320,"props":321,"children":323},"a",{"href":322},"/man/VkStructureType",[324],{"type":20,"value":325},"VkStructureType",{"type":20,"value":327}," value identifying this structure.",{"type":15,"tag":308,"props":329,"children":330},{},[331,337,339,345],{"type":15,"tag":23,"props":332,"children":334},{"className":333},[],[335],{"type":20,"value":336},"pNext",{"type":20,"value":338}," is ",{"type":15,"tag":23,"props":340,"children":342},{"className":341},[],[343],{"type":20,"value":344},"NULL",{"type":20,"value":346}," or a pointer to a structure extending this\nstructure.",{"type":15,"tag":308,"props":348,"children":349},{},[350,356],{"type":15,"tag":23,"props":351,"children":353},{"className":352},[],[354],{"type":20,"value":355},"dimension",{"type":20,"value":357}," is the dimension of the tensor along which its data is\nsparse.",{"type":15,"tag":308,"props":359,"children":360},{},[361,367,369,374,376,382],{"type":15,"tag":23,"props":362,"children":364},{"className":363},[],[365],{"type":20,"value":366},"zeroCount",{"type":20,"value":368}," is the number of tensor elements that ",{"type":15,"tag":370,"props":371,"children":373},"normative",{"type":372},"must",[],{"type":20,"value":375}," be zero in\nevery group of ",{"type":15,"tag":23,"props":377,"children":379},{"className":378},[],[380],{"type":20,"value":381},"groupSize",{"type":20,"value":383}," elements.",{"type":15,"tag":308,"props":385,"children":386},{},[387,392],{"type":15,"tag":23,"props":388,"children":390},{"className":389},[],[391],{"type":20,"value":381},{"type":20,"value":393}," is the number of tensor elements in a group.",{"type":15,"tag":395,"props":396,"children":397},"note",{},[398],{"type":15,"tag":16,"props":399,"children":400},{},[401,403,408,410,415,417,422,424,428,430,433,435,438],{"type":20,"value":402},"This extension does not provide applications with a way of knowing which\ncombinations of ",{"type":15,"tag":23,"props":404,"children":406},{"className":405},[],[407],{"type":20,"value":355},{"type":20,"value":409},", ",{"type":15,"tag":23,"props":411,"children":413},{"className":412},[],[414],{"type":20,"value":366},{"type":20,"value":416},", and ",{"type":15,"tag":23,"props":418,"children":420},{"className":419},[],[421],{"type":20,"value":381},{"type":20,"value":423}," an\nimplementation ",{"type":15,"tag":370,"props":425,"children":427},{"type":426},"can",[],{"type":20,"value":429}," take advantage of.\nProviding sparsity information for a graph constant is always valid and\nrecommended, regardless of the specific combinations an implementation ",{"type":15,"tag":370,"props":431,"children":432},{"type":426},[],{"type":20,"value":434},"\ntake advantage of.\nWhen they ",{"type":15,"tag":370,"props":436,"children":437},{"type":426},[],{"type":20,"value":439}," not take advantage of the sparsity information,\nimplementations will ignore it and treat the data as dense.",{"type":15,"tag":441,"props":442,"children":444},"validity-group",{"name":443},"Valid Usage (Implicit)",[445],{"type":15,"tag":446,"props":447,"children":449},"validity-field",{"name":448},"VUID-VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM-sType-sType",[450],{"type":15,"tag":16,"props":451,"children":452},{},[453,458,460,463,465],{"type":15,"tag":23,"props":454,"children":456},{"className":455},[],[457],{"type":20,"value":316},{"type":20,"value":459}," ",{"type":15,"tag":370,"props":461,"children":462},{"type":372},[],{"type":20,"value":464}," be ",{"type":15,"tag":23,"props":466,"children":468},{"className":467},[],[469],{"type":20,"value":470},"VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_CONSTANT_TENSOR_SEMI_STRUCTURED_SPARSITY_INFO_ARM",{"type":15,"tag":472,"props":473,"children":474},"style",{},[475],{"type":20,"value":476},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":41,"searchDepth":71,"depth":71,"links":478},[],"markdown",1773054744766]