Class NVCooperativeMatrix
Cooperative matrix types are defined by the SPV_NV_cooperative_matrix SPIR-V extension and can be used with the GL_NV_cooperative_matrix GLSL extension.
This extension includes support for enumerating the matrix types and dimensions that are supported by the implementation.
- Name String
VK_NV_cooperative_matrix- Extension Type
- Device extension
- Registered Extension Number
- 250
- Revision
- 1
- Extension and Version Dependencies
VK_KHR_get_physical_device_properties2or Version 1.1- SPIR-V Dependencies
- Contact
- Jeff Bolz jeffbolznv
Other Extension Metadata
- Last Modified Date
- 2019-02-05
- Interactions and External Dependencies
- This extension provides API support for
GL_NV_cooperative_matrix
- This extension provides API support for
- Contributors
- Jeff Bolz, NVIDIA
- Markus Tavenrath, NVIDIA
- Daniel Koch, NVIDIA
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intExtendsVkComponentTypeKHR.static final intExtendsVkComponentTypeKHR.static final intExtendsVkComponentTypeKHR.static final intExtendsVkComponentTypeKHR.static final intExtendsVkComponentTypeKHR.static final intExtendsVkComponentTypeKHR.static final intExtendsVkComponentTypeKHR.static final intExtendsVkComponentTypeKHR.static final intExtendsVkComponentTypeKHR.static final intExtendsVkComponentTypeKHR.static final intExtendsVkComponentTypeKHR.static final StringThe extension name.static final intThe extension specification version.static final intExtendsVkScopeKHR.static final intExtendsVkScopeKHR.static final intExtendsVkScopeKHR.static final intExtendsVkScopeKHR.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType. -
Method Summary
Modifier and TypeMethodDescriptionstatic intnvkGetPhysicalDeviceCooperativeMatrixPropertiesNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pPropertyCount, long pProperties) Unsafe version of:GetPhysicalDeviceCooperativeMatrixPropertiesNVstatic intvkGetPhysicalDeviceCooperativeMatrixPropertiesNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, int[] pPropertyCount, @Nullable VkCooperativeMatrixPropertiesNV.Buffer pProperties) Array version of:GetPhysicalDeviceCooperativeMatrixPropertiesNVstatic intvkGetPhysicalDeviceCooperativeMatrixPropertiesNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, IntBuffer pPropertyCount, @Nullable VkCooperativeMatrixPropertiesNV.Buffer pProperties) Returns properties describing what cooperative matrix types are supported.
-
Field Details
-
VK_NV_COOPERATIVE_MATRIX_SPEC_VERSION
public static final int VK_NV_COOPERATIVE_MATRIX_SPEC_VERSIONThe extension specification version.- See Also:
-
VK_NV_COOPERATIVE_MATRIX_EXTENSION_NAME
The extension name.- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_NV
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_NVExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_COOPERATIVE_MATRIX_PROPERTIES_NV
public static final int VK_STRUCTURE_TYPE_COOPERATIVE_MATRIX_PROPERTIES_NVExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_PROPERTIES_NV
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_PROPERTIES_NVExtendsVkStructureType.Enum values:
- See Also:
-
VK_SCOPE_DEVICE_NV
public static final int VK_SCOPE_DEVICE_NVExtendsVkScopeKHR.Enum values:
- See Also:
-
VK_SCOPE_WORKGROUP_NV
public static final int VK_SCOPE_WORKGROUP_NVExtendsVkScopeKHR.Enum values:
- See Also:
-
VK_SCOPE_SUBGROUP_NV
public static final int VK_SCOPE_SUBGROUP_NVExtendsVkScopeKHR.Enum values:
- See Also:
-
VK_SCOPE_QUEUE_FAMILY_NV
public static final int VK_SCOPE_QUEUE_FAMILY_NVExtendsVkScopeKHR.Enum values:
- See Also:
-
VK_COMPONENT_TYPE_FLOAT16_NV
public static final int VK_COMPONENT_TYPE_FLOAT16_NVExtendsVkComponentTypeKHR.Enum values:
- See Also:
-
VK_COMPONENT_TYPE_FLOAT32_NV
public static final int VK_COMPONENT_TYPE_FLOAT32_NVExtendsVkComponentTypeKHR.Enum values:
- See Also:
-
VK_COMPONENT_TYPE_FLOAT64_NV
public static final int VK_COMPONENT_TYPE_FLOAT64_NVExtendsVkComponentTypeKHR.Enum values:
- See Also:
-
VK_COMPONENT_TYPE_SINT8_NV
public static final int VK_COMPONENT_TYPE_SINT8_NVExtendsVkComponentTypeKHR.Enum values:
- See Also:
-
VK_COMPONENT_TYPE_SINT16_NV
public static final int VK_COMPONENT_TYPE_SINT16_NVExtendsVkComponentTypeKHR.Enum values:
- See Also:
-
VK_COMPONENT_TYPE_SINT32_NV
public static final int VK_COMPONENT_TYPE_SINT32_NVExtendsVkComponentTypeKHR.Enum values:
- See Also:
-
VK_COMPONENT_TYPE_SINT64_NV
public static final int VK_COMPONENT_TYPE_SINT64_NVExtendsVkComponentTypeKHR.Enum values:
- See Also:
-
VK_COMPONENT_TYPE_UINT8_NV
public static final int VK_COMPONENT_TYPE_UINT8_NVExtendsVkComponentTypeKHR.Enum values:
- See Also:
-
VK_COMPONENT_TYPE_UINT16_NV
public static final int VK_COMPONENT_TYPE_UINT16_NVExtendsVkComponentTypeKHR.Enum values:
- See Also:
-
VK_COMPONENT_TYPE_UINT32_NV
public static final int VK_COMPONENT_TYPE_UINT32_NVExtendsVkComponentTypeKHR.Enum values:
- See Also:
-
VK_COMPONENT_TYPE_UINT64_NV
public static final int VK_COMPONENT_TYPE_UINT64_NVExtendsVkComponentTypeKHR.Enum values:
- See Also:
-
-
Method Details
-
nvkGetPhysicalDeviceCooperativeMatrixPropertiesNV
public static int nvkGetPhysicalDeviceCooperativeMatrixPropertiesNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pPropertyCount, long pProperties) Unsafe version of:GetPhysicalDeviceCooperativeMatrixPropertiesNV- Parameters:
pPropertyCount- a pointer to an integer related to the number of cooperative matrix properties available or queried.
-
vkGetPhysicalDeviceCooperativeMatrixPropertiesNV
public static int vkGetPhysicalDeviceCooperativeMatrixPropertiesNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, IntBuffer pPropertyCount, @Nullable VkCooperativeMatrixPropertiesNV.Buffer pProperties) Returns properties describing what cooperative matrix types are supported.C Specification
To enumerate the supported cooperative matrix types and operations, call:
VkResult vkGetPhysicalDeviceCooperativeMatrixPropertiesNV( VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkCooperativeMatrixPropertiesNV* pProperties);Description
If
pPropertiesisNULL, then the number of cooperative matrix properties available is returned inpPropertyCount. Otherwise,pPropertyCountmust point to a variable set by the application to the number of elements in thepPropertiesarray, and on return the variable is overwritten with the number of structures actually written topProperties. IfpPropertyCountis less than the number of cooperative matrix properties available, at mostpPropertyCountstructures will be written, andINCOMPLETEwill be returned instead ofSUCCESS, to indicate that not all the available cooperative matrix properties were returned.Valid Usage (Implicit)
physicalDevicemust be a validVkPhysicalDevicehandlepPropertyCountmust be a valid pointer to auint32_tvalue- If the value referenced by
pPropertyCountis not 0, andpPropertiesis notNULL,pPropertiesmust be a valid pointer to an array ofpPropertyCountVkCooperativeMatrixPropertiesNVstructures
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
- Parameters:
physicalDevice- the physical device.pPropertyCount- a pointer to an integer related to the number of cooperative matrix properties available or queried.pProperties- eitherNULLor a pointer to an array ofVkCooperativeMatrixPropertiesNVstructures.
-
vkGetPhysicalDeviceCooperativeMatrixPropertiesNV
public static int vkGetPhysicalDeviceCooperativeMatrixPropertiesNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, int[] pPropertyCount, @Nullable VkCooperativeMatrixPropertiesNV.Buffer pProperties) Array version of:GetPhysicalDeviceCooperativeMatrixPropertiesNV
-