C Specification
The VkPhysicalDeviceCooperativeVectorPropertiesNV structure is defined
as:
// Provided by VK_NV_cooperative_vector
typedef struct VkPhysicalDeviceCooperativeVectorPropertiesNV {
VkStructureType sType;
void* pNext;
VkShaderStageFlags cooperativeVectorSupportedStages;
VkBool32 cooperativeVectorTrainingFloat16Accumulation;
VkBool32 cooperativeVectorTrainingFloat32Accumulation;
uint32_t maxCooperativeVectorComponents;
} VkPhysicalDeviceCooperativeVectorPropertiesNV;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
cooperativeVectorSupportedStagesis a bitfield of VkShaderStageFlagBits describing the shader stages that cooperative vector instructions are supported in.cooperativeVectorSupportedStageswill have theVK_SHADER_STAGE_COMPUTE_BITbit set if any of the physical device’s queues supportVK_QUEUE_COMPUTE_BIT. -
cooperativeVectorTrainingFloat16AccumulationisVK_TRUEif the implementation supports cooperative vector training functions accumulating 16-bit floating-point results. -
cooperativeVectorTrainingFloat32AccumulationisVK_TRUEif the implementation supports cooperative vector training functions accumulating 32-bit floating-point results. -
maxCooperativeVectorComponentsindicates the maximum number of components that can be in a cooperative vector.
Description
If the VkPhysicalDeviceCooperativeVectorPropertiesNV structure is included in the pNext chain of the
VkPhysicalDeviceProperties2 structure passed to
vkGetPhysicalDeviceProperties2, it is filled in with each
corresponding implementation-dependent property.
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.