Class NVCooperativeMatrix2
The new functionality is defined by the SPV_NV_tensor_addressing and SPV_NV_cooperative_matrix2 SPIR-V extensions and can be used with the GLSL_NV_cooperative_matrix2 GLSL extension.
This extension includes support for enumerating the matrix types and dimensions that are supported by the implementation, and which specific features are supported.
- Name String
VK_NV_cooperative_matrix2- Extension Type
- Device extension
- Registered Extension Number
- 594
- Revision
- 1
- Extension and Version Dependencies
VK_KHR_cooperative_matrix- SPIR-V Dependencies
- Contact
- Jeff Bolz jeffbolznv
- Extension Proposal
- VK_NV_cooperative_matrix2
Other Extension Metadata
- Last Modified Date
- 2024-08-01
- Interactions and External Dependencies
- This extension provides API support for
GLSL_NV_cooperative_matrix2
- This extension provides API support for
- Contributors
- Jeff Bolz, NVIDIA
- Karthik Vaidyanathan, NVIDIA
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe extension name.static final intThe extension specification version.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType. -
Method Summary
Modifier and TypeMethodDescriptionstatic intnvkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pPropertyCount, long pProperties) Unsafe version of:GetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNVstatic intvkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, int[] pPropertyCount, @Nullable VkCooperativeMatrixFlexibleDimensionsPropertiesNV.Buffer pProperties) Array version of:GetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNVstatic intvkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, IntBuffer pPropertyCount, @Nullable VkCooperativeMatrixFlexibleDimensionsPropertiesNV.Buffer pProperties) Returns properties describing what cooperative matrix types are supported.
-
Field Details
-
VK_NV_COOPERATIVE_MATRIX_2_SPEC_VERSION
public static final int VK_NV_COOPERATIVE_MATRIX_2_SPEC_VERSIONThe extension specification version.- See Also:
-
VK_NV_COOPERATIVE_MATRIX_2_EXTENSION_NAME
The extension name.- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_2_FEATURES_NV
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_2_FEATURES_NVExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_COOPERATIVE_MATRIX_FLEXIBLE_DIMENSIONS_PROPERTIES_NV
public static final int VK_STRUCTURE_TYPE_COOPERATIVE_MATRIX_FLEXIBLE_DIMENSIONS_PROPERTIES_NVExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_2_PROPERTIES_NV
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_2_PROPERTIES_NVExtendsVkStructureType.Enum values:
- See Also:
-
-
Method Details
-
nvkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV
public static int nvkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pPropertyCount, long pProperties) Unsafe version of:GetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV- Parameters:
pPropertyCount- a pointer to an integer related to the number of cooperative matrix properties available or queried.
-
vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV
public static int vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, IntBuffer pPropertyCount, @Nullable VkCooperativeMatrixFlexibleDimensionsPropertiesNV.Buffer pProperties) Returns properties describing what cooperative matrix types are supported.C Specification
To enumerate additional supported cooperative matrix types and operations, call:
VkResult vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV( VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkCooperativeMatrixFlexibleDimensionsPropertiesNV* pProperties);Description
If
pPropertiesisNULL, then the number of flexible dimensions 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 flexible dimensions properties available, at mostpPropertyCountstructures will be written, andINCOMPLETEwill be returned instead ofSUCCESS, to indicate that not all the available flexible dimensions properties were returned.If the
cooperativeMatrixFlexibleDimensionsfeature is not supported, the implementation must advertise zero properties.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 ofpPropertyCountVkCooperativeMatrixFlexibleDimensionsPropertiesNVstructures
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 ofVkCooperativeMatrixFlexibleDimensionsPropertiesNVstructures.
-
vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV
public static int vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, int[] pPropertyCount, @Nullable VkCooperativeMatrixFlexibleDimensionsPropertiesNV.Buffer pProperties) Array version of:GetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV
-