[{"data":1,"prerenderedAt":575},["ShallowReactive",2],{"mlxHDNibYo":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":574,"_id":4},"VkPhysicalDeviceCooperativeVectorPropertiesNV","Structure describing cooperative vector properties supported by an implementation","VK_NV_cooperative_vector","structs",[],{"type":10,"children":11,"toc":572},"root",[12,28,343,499,534,566],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","The ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":4},{"type":18,"value":27}," structure is defined\nas:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,140],{"type":13,"tag":33,"props":34,"children":40},"pre",{"className":35,"code":36,"filename":37,"language":38,"meta":39,"style":39},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkPhysicalDeviceCooperativeVectorPropertiesNV {\n VkStructureType sType;\n void* pNext;\n VkShaderStageFlags cooperativeVectorSupportedStages;\n VkBool32 cooperativeVectorTrainingFloat16Accumulation;\n VkBool32 cooperativeVectorTrainingFloat32Accumulation;\n uint32_t maxCooperativeVectorComponents;\n} VkPhysicalDeviceCooperativeVectorPropertiesNV;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,90,99,108,117,131],{"type":13,"tag":45,"props":46,"children":49},"span",{"class":47,"line":48},"line",1,[50,56,61],{"type":13,"tag":45,"props":51,"children":53},{"style":52},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[54],{"type":18,"value":55},"typedef",{"type":13,"tag":45,"props":57,"children":58},{"style":52},[59],{"type":18,"value":60}," struct",{"type":13,"tag":45,"props":62,"children":64},{"style":63},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[65],{"type":18,"value":66}," VkPhysicalDeviceCooperativeVectorPropertiesNV {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71],{"type":13,"tag":45,"props":72,"children":73},{"style":63},[74],{"type":18,"value":75}," VkStructureType sType;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80,85],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," void*",{"type":13,"tag":45,"props":86,"children":87},{"style":63},[88],{"type":18,"value":89}," pNext;\n",{"type":13,"tag":45,"props":91,"children":93},{"class":47,"line":92},4,[94],{"type":13,"tag":45,"props":95,"children":96},{"style":63},[97],{"type":18,"value":98}," VkShaderStageFlags cooperativeVectorSupportedStages;\n",{"type":13,"tag":45,"props":100,"children":102},{"class":47,"line":101},5,[103],{"type":13,"tag":45,"props":104,"children":105},{"style":63},[106],{"type":18,"value":107}," VkBool32 cooperativeVectorTrainingFloat16Accumulation;\n",{"type":13,"tag":45,"props":109,"children":111},{"class":47,"line":110},6,[112],{"type":13,"tag":45,"props":113,"children":114},{"style":63},[115],{"type":18,"value":116}," VkBool32 cooperativeVectorTrainingFloat32Accumulation;\n",{"type":13,"tag":45,"props":118,"children":120},{"class":47,"line":119},7,[121,126],{"type":13,"tag":45,"props":122,"children":123},{"style":52},[124],{"type":18,"value":125}," uint32_t",{"type":13,"tag":45,"props":127,"children":128},{"style":63},[129],{"type":18,"value":130}," maxCooperativeVectorComponents;\n",{"type":13,"tag":45,"props":132,"children":134},{"class":47,"line":133},8,[135],{"type":13,"tag":45,"props":136,"children":137},{"style":63},[138],{"type":18,"value":139},"} VkPhysicalDeviceCooperativeVectorPropertiesNV;\n",{"type":13,"tag":33,"props":141,"children":146},{"className":142,"code":143,"filename":144,"language":145,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PhysicalDeviceCooperativeVectorPropertiesNV {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n cooperative_vector_supported_stages: vk::ShaderStageFlags,\n cooperative_vector_training_float16_accumulation: vk::Bool32,\n cooperative_vector_training_float32_accumulation: vk::Bool32,\n max_cooperative_vector_components: u32,\n}\n","Rust","rs",[147],{"type":13,"tag":21,"props":148,"children":149},{"__ignoreMap":39},[150,173,206,228,257,286,314,335],{"type":13,"tag":45,"props":151,"children":152},{"class":47,"line":48},[153,158,162,168],{"type":13,"tag":45,"props":154,"children":155},{"style":52},[156],{"type":18,"value":157},"pub",{"type":13,"tag":45,"props":159,"children":160},{"style":52},[161],{"type":18,"value":60},{"type":13,"tag":45,"props":163,"children":165},{"style":164},"--shiki-default:#953800;--shiki-dark:#FFA657",[166],{"type":18,"value":167}," PhysicalDeviceCooperativeVectorPropertiesNV",{"type":13,"tag":45,"props":169,"children":170},{"style":63},[171],{"type":18,"value":172}," {\n",{"type":13,"tag":45,"props":174,"children":175},{"class":47,"line":69},[176,181,186,191,196,201],{"type":13,"tag":45,"props":177,"children":178},{"style":63},[179],{"type":18,"value":180}," s_type",{"type":13,"tag":45,"props":182,"children":183},{"style":52},[184],{"type":18,"value":185},":",{"type":13,"tag":45,"props":187,"children":188},{"style":164},[189],{"type":18,"value":190}," vk",{"type":13,"tag":45,"props":192,"children":193},{"style":52},[194],{"type":18,"value":195},"::",{"type":13,"tag":45,"props":197,"children":198},{"style":164},[199],{"type":18,"value":200},"StructureType",{"type":13,"tag":45,"props":202,"children":203},{"style":63},[204],{"type":18,"value":205},",\n",{"type":13,"tag":45,"props":207,"children":208},{"class":47,"line":78},[209,214,218,223],{"type":13,"tag":45,"props":210,"children":211},{"style":63},[212],{"type":18,"value":213}," p_next",{"type":13,"tag":45,"props":215,"children":216},{"style":52},[217],{"type":18,"value":185},{"type":13,"tag":45,"props":219,"children":220},{"style":52},[221],{"type":18,"value":222}," *mut",{"type":13,"tag":45,"props":224,"children":225},{"style":63},[226],{"type":18,"value":227}," c_void,\n",{"type":13,"tag":45,"props":229,"children":230},{"class":47,"line":92},[231,236,240,244,248,253],{"type":13,"tag":45,"props":232,"children":233},{"style":63},[234],{"type":18,"value":235}," cooperative_vector_supported_stages",{"type":13,"tag":45,"props":237,"children":238},{"style":52},[239],{"type":18,"value":185},{"type":13,"tag":45,"props":241,"children":242},{"style":164},[243],{"type":18,"value":190},{"type":13,"tag":45,"props":245,"children":246},{"style":52},[247],{"type":18,"value":195},{"type":13,"tag":45,"props":249,"children":250},{"style":164},[251],{"type":18,"value":252},"ShaderStageFlags",{"type":13,"tag":45,"props":254,"children":255},{"style":63},[256],{"type":18,"value":205},{"type":13,"tag":45,"props":258,"children":259},{"class":47,"line":101},[260,265,269,273,277,282],{"type":13,"tag":45,"props":261,"children":262},{"style":63},[263],{"type":18,"value":264}," cooperative_vector_training_float16_accumulation",{"type":13,"tag":45,"props":266,"children":267},{"style":52},[268],{"type":18,"value":185},{"type":13,"tag":45,"props":270,"children":271},{"style":164},[272],{"type":18,"value":190},{"type":13,"tag":45,"props":274,"children":275},{"style":52},[276],{"type":18,"value":195},{"type":13,"tag":45,"props":278,"children":279},{"style":164},[280],{"type":18,"value":281},"Bool32",{"type":13,"tag":45,"props":283,"children":284},{"style":63},[285],{"type":18,"value":205},{"type":13,"tag":45,"props":287,"children":288},{"class":47,"line":110},[289,294,298,302,306,310],{"type":13,"tag":45,"props":290,"children":291},{"style":63},[292],{"type":18,"value":293}," cooperative_vector_training_float32_accumulation",{"type":13,"tag":45,"props":295,"children":296},{"style":52},[297],{"type":18,"value":185},{"type":13,"tag":45,"props":299,"children":300},{"style":164},[301],{"type":18,"value":190},{"type":13,"tag":45,"props":303,"children":304},{"style":52},[305],{"type":18,"value":195},{"type":13,"tag":45,"props":307,"children":308},{"style":164},[309],{"type":18,"value":281},{"type":13,"tag":45,"props":311,"children":312},{"style":63},[313],{"type":18,"value":205},{"type":13,"tag":45,"props":315,"children":316},{"class":47,"line":119},[317,322,326,331],{"type":13,"tag":45,"props":318,"children":319},{"style":63},[320],{"type":18,"value":321}," max_cooperative_vector_components",{"type":13,"tag":45,"props":323,"children":324},{"style":52},[325],{"type":18,"value":185},{"type":13,"tag":45,"props":327,"children":328},{"style":164},[329],{"type":18,"value":330}," u32",{"type":13,"tag":45,"props":332,"children":333},{"style":63},[334],{"type":18,"value":205},{"type":13,"tag":45,"props":336,"children":337},{"class":47,"line":133},[338],{"type":13,"tag":45,"props":339,"children":340},{"style":63},[341],{"type":18,"value":342},"}\n",{"type":13,"tag":344,"props":345,"children":346},"ul",{},[347,368,387,434,456,477],{"type":13,"tag":348,"props":349,"children":350},"li",{},[351,357,359,366],{"type":13,"tag":21,"props":352,"children":354},{"className":353},[],[355],{"type":18,"value":356},"sType",{"type":18,"value":358}," is a ",{"type":13,"tag":360,"props":361,"children":363},"a",{"href":362},"/man/VkStructureType",[364],{"type":18,"value":365},"VkStructureType",{"type":18,"value":367}," value identifying this structure.",{"type":13,"tag":348,"props":369,"children":370},{},[371,377,379,385],{"type":13,"tag":21,"props":372,"children":374},{"className":373},[],[375],{"type":18,"value":376},"pNext",{"type":18,"value":378}," is ",{"type":13,"tag":21,"props":380,"children":382},{"className":381},[],[383],{"type":18,"value":384},"NULL",{"type":18,"value":386}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":348,"props":388,"children":389},{},[390,395,401,403,409,411,416,418,424,426,432],{"type":13,"tag":391,"props":392,"children":394},"anchor",{"id":393},"limits-cooperativeVectorSupportedStages",[],{"type":13,"tag":21,"props":396,"children":398},{"className":397},[],[399],{"type":18,"value":400},"cooperativeVectorSupportedStages",{"type":18,"value":402}," is a bitfield of\n",{"type":13,"tag":360,"props":404,"children":406},{"href":405},"/man/VkShaderStageFlagBits",[407],{"type":18,"value":408},"VkShaderStageFlagBits",{"type":18,"value":410}," describing the shader stages that\ncooperative vector instructions are supported in.\n",{"type":13,"tag":21,"props":412,"children":414},{"className":413},[],[415],{"type":18,"value":400},{"type":18,"value":417}," will have the\n",{"type":13,"tag":21,"props":419,"children":421},{"className":420},[],[422],{"type":18,"value":423},"VK_SHADER_STAGE_COMPUTE_BIT",{"type":18,"value":425}," bit set if any of the physical\ndevice’s queues support ",{"type":13,"tag":21,"props":427,"children":429},{"className":428},[],[430],{"type":18,"value":431},"VK_QUEUE_COMPUTE_BIT",{"type":18,"value":433},".",{"type":13,"tag":348,"props":435,"children":436},{},[437,441,447,448,454],{"type":13,"tag":391,"props":438,"children":440},{"id":439},"limits-cooperativeVectorTrainingFloat16Accumulation",[],{"type":13,"tag":21,"props":442,"children":444},{"className":443},[],[445],{"type":18,"value":446},"cooperativeVectorTrainingFloat16Accumulation",{"type":18,"value":378},{"type":13,"tag":21,"props":449,"children":451},{"className":450},[],[452],{"type":18,"value":453},"VK_TRUE",{"type":18,"value":455}," if\nthe implementation supports cooperative vector training functions\naccumulating 16-bit floating-point results.",{"type":13,"tag":348,"props":457,"children":458},{},[459,463,469,470,475],{"type":13,"tag":391,"props":460,"children":462},{"id":461},"limits-cooperativeVectorTrainingFloat32Accumulation",[],{"type":13,"tag":21,"props":464,"children":466},{"className":465},[],[467],{"type":18,"value":468},"cooperativeVectorTrainingFloat32Accumulation",{"type":18,"value":378},{"type":13,"tag":21,"props":471,"children":473},{"className":472},[],[474],{"type":18,"value":453},{"type":18,"value":476}," if\nthe implementation supports cooperative vector training functions\naccumulating 32-bit floating-point results.",{"type":13,"tag":348,"props":478,"children":479},{},[480,484,490,492,497],{"type":13,"tag":391,"props":481,"children":483},{"id":482},"limits-maxCooperativeVectorComponents",[],{"type":13,"tag":21,"props":485,"children":487},{"className":486},[],[488],{"type":18,"value":489},"maxCooperativeVectorComponents",{"type":18,"value":491}," indicates the maximum number of\ncomponents that ",{"type":13,"tag":493,"props":494,"children":496},"normative",{"type":495},"can",[],{"type":18,"value":498}," be in a cooperative vector.",{"type":13,"tag":14,"props":500,"children":501},{},[502,504,509,511,516,518,524,526,532],{"type":18,"value":503},"If the ",{"type":13,"tag":21,"props":505,"children":507},{"className":506},[],[508],{"type":18,"value":4},{"type":18,"value":510}," structure is included in the ",{"type":13,"tag":21,"props":512,"children":514},{"className":513},[],[515],{"type":18,"value":376},{"type":18,"value":517}," chain of the\n",{"type":13,"tag":360,"props":519,"children":521},{"href":520},"/man/VkPhysicalDeviceProperties2",[522],{"type":18,"value":523},"VkPhysicalDeviceProperties2",{"type":18,"value":525}," structure passed to\n",{"type":13,"tag":360,"props":527,"children":529},{"href":528},"/man/vkGetPhysicalDeviceProperties2",[530],{"type":18,"value":531},"vkGetPhysicalDeviceProperties2",{"type":18,"value":533},", it is filled in with each\ncorresponding implementation-dependent property.",{"type":13,"tag":535,"props":536,"children":538},"validity-group",{"name":537},"Valid Usage (Implicit)",[539],{"type":13,"tag":540,"props":541,"children":543},"validity-field",{"name":542},"VUID-VkPhysicalDeviceCooperativeVectorPropertiesNV-sType-sType",[544],{"type":13,"tag":14,"props":545,"children":546},{},[547,552,554,558,560],{"type":13,"tag":21,"props":548,"children":550},{"className":549},[],[551],{"type":18,"value":356},{"type":18,"value":553}," ",{"type":13,"tag":493,"props":555,"children":557},{"type":556},"must",[],{"type":18,"value":559}," be ",{"type":13,"tag":21,"props":561,"children":563},{"className":562},[],[564],{"type":18,"value":565},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_VECTOR_PROPERTIES_NV",{"type":13,"tag":567,"props":568,"children":569},"style",{},[570],{"type":18,"value":571},"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":39,"searchDepth":69,"depth":69,"links":573},[],"markdown",1744876557814]