Structures
VkPhysicalDeviceShaderBfloat16FeaturesKHR
Structure describing bfloat16 features that can be supported by the implementation
The VkPhysicalDeviceShaderBfloat16FeaturesKHR structure is defined as:
typedef struct VkPhysicalDeviceShaderBfloat16FeaturesKHR {
VkStructureType sType;
void* pNext;
VkBool32 shaderBFloat16Type;
VkBool32 shaderBFloat16DotProduct;
VkBool32 shaderBFloat16CooperativeMatrix;
} VkPhysicalDeviceShaderBfloat16FeaturesKHR;
This structure describes the following features:
-
shaderBFloat16Typeindicates whether the implementation supports shaders with theBFloat16TypeKHRcapability. -
shaderBFloat16DotProductindicates whether the implementation supports shaders with theBFloat16DotProductKHRcapability. shaderBFloat16CooperativeMatrixindicates whether the implementation supports shaders with theBFloat16CooperativeMatrixKHRcapability.
If the VkPhysicalDeviceShaderBfloat16FeaturesKHR structure is included in the pNext chain of the
VkPhysicalDeviceFeatures2 structure passed to
vkGetPhysicalDeviceFeatures2, it is filled in to indicate whether each
corresponding feature is supported.
If the application wishes to use a VkDevice with any features
described by VkPhysicalDeviceShaderBfloat16FeaturesKHR, it must add an instance of the structure,
with the desired feature members set to VK_TRUE, to the pNext
chain of VkDeviceCreateInfo when creating the VkDevice.
Valid Usage (Implicit)
VUID-VkPhysicalDeviceShaderBfloat16FeaturesKHR-sType-sType
sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_BFLOAT16_FEATURES_KHR