public class NVCooperativeMatrix
extends java.lang.Object
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.
VK_NV_cooperative_matrixVK_KHR_get_physical_device_properties2| Modifier and Type | Field and Description |
|---|---|
static int |
VK_COMPONENT_TYPE_FLOAT16_NV
VkComponentTypeNV - Specify SPIR-V cooperative matrix component type
|
static int |
VK_COMPONENT_TYPE_FLOAT32_NV
VkComponentTypeNV - Specify SPIR-V cooperative matrix component type
|
static int |
VK_COMPONENT_TYPE_FLOAT64_NV
VkComponentTypeNV - Specify SPIR-V cooperative matrix component type
|
static int |
VK_COMPONENT_TYPE_SINT16_NV
VkComponentTypeNV - Specify SPIR-V cooperative matrix component type
|
static int |
VK_COMPONENT_TYPE_SINT32_NV
VkComponentTypeNV - Specify SPIR-V cooperative matrix component type
|
static int |
VK_COMPONENT_TYPE_SINT64_NV
VkComponentTypeNV - Specify SPIR-V cooperative matrix component type
|
static int |
VK_COMPONENT_TYPE_SINT8_NV
VkComponentTypeNV - Specify SPIR-V cooperative matrix component type
|
static int |
VK_COMPONENT_TYPE_UINT16_NV
VkComponentTypeNV - Specify SPIR-V cooperative matrix component type
|
static int |
VK_COMPONENT_TYPE_UINT32_NV
VkComponentTypeNV - Specify SPIR-V cooperative matrix component type
|
static int |
VK_COMPONENT_TYPE_UINT64_NV
VkComponentTypeNV - Specify SPIR-V cooperative matrix component type
|
static int |
VK_COMPONENT_TYPE_UINT8_NV
VkComponentTypeNV - Specify SPIR-V cooperative matrix component type
|
static java.lang.String |
VK_NV_COOPERATIVE_MATRIX_EXTENSION_NAME
The extension name.
|
static int |
VK_NV_COOPERATIVE_MATRIX_SPEC_VERSION
The extension specification version.
|
static int |
VK_SCOPE_DEVICE_NV
VkScopeNV - Specify SPIR-V scope
|
static int |
VK_SCOPE_QUEUE_FAMILY_NV
VkScopeNV - Specify SPIR-V scope
|
static int |
VK_SCOPE_SUBGROUP_NV
VkScopeNV - Specify SPIR-V scope
|
static int |
VK_SCOPE_WORKGROUP_NV
VkScopeNV - Specify SPIR-V scope
|
static int |
VK_STRUCTURE_TYPE_COOPERATIVE_MATRIX_PROPERTIES_NV
Extends
VkStructureType. |
static int |
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_NV
Extends
VkStructureType. |
static int |
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_PROPERTIES_NV
Extends
VkStructureType. |
| Modifier and Type | Method and Description |
|---|---|
static int |
nvkGetPhysicalDeviceCooperativeMatrixPropertiesNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long pPropertyCount,
long pProperties)
Unsafe version of:
GetPhysicalDeviceCooperativeMatrixPropertiesNV |
static int |
vkGetPhysicalDeviceCooperativeMatrixPropertiesNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
int[] pPropertyCount,
VkCooperativeMatrixPropertiesNV.Buffer pProperties)
Array version of:
GetPhysicalDeviceCooperativeMatrixPropertiesNV |
static int |
vkGetPhysicalDeviceCooperativeMatrixPropertiesNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
java.nio.IntBuffer pPropertyCount,
VkCooperativeMatrixPropertiesNV.Buffer pProperties)
Returns properties describing what cooperative matrix types are supported.
|
public static final int VK_NV_COOPERATIVE_MATRIX_SPEC_VERSION
public static final java.lang.String VK_NV_COOPERATIVE_MATRIX_EXTENSION_NAME
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_NV
VkStructureType.
public static final int VK_STRUCTURE_TYPE_COOPERATIVE_MATRIX_PROPERTIES_NV
VkStructureType.
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_PROPERTIES_NV
VkStructureType.
public static final int VK_COMPONENT_TYPE_FLOAT16_NV
COMPONENT_TYPE_FLOAT16_NV corresponds to SPIR-V OpTypeFloat 16.COMPONENT_TYPE_FLOAT32_NV corresponds to SPIR-V OpTypeFloat 32.COMPONENT_TYPE_FLOAT64_NV corresponds to SPIR-V OpTypeFloat 64.COMPONENT_TYPE_SINT8_NV corresponds to SPIR-V OpTypeInt 8 1.COMPONENT_TYPE_SINT16_NV corresponds to SPIR-V OpTypeInt 16 1.COMPONENT_TYPE_SINT32_NV corresponds to SPIR-V OpTypeInt 32 1.COMPONENT_TYPE_SINT64_NV corresponds to SPIR-V OpTypeInt 64 1.COMPONENT_TYPE_UINT8_NV corresponds to SPIR-V OpTypeInt 8 0.COMPONENT_TYPE_UINT16_NV corresponds to SPIR-V OpTypeInt 16 0.COMPONENT_TYPE_UINT32_NV corresponds to SPIR-V OpTypeInt 32 0.COMPONENT_TYPE_UINT64_NV corresponds to SPIR-V OpTypeInt 64 0.public static final int VK_COMPONENT_TYPE_FLOAT32_NV
COMPONENT_TYPE_FLOAT16_NV corresponds to SPIR-V OpTypeFloat 16.COMPONENT_TYPE_FLOAT32_NV corresponds to SPIR-V OpTypeFloat 32.COMPONENT_TYPE_FLOAT64_NV corresponds to SPIR-V OpTypeFloat 64.COMPONENT_TYPE_SINT8_NV corresponds to SPIR-V OpTypeInt 8 1.COMPONENT_TYPE_SINT16_NV corresponds to SPIR-V OpTypeInt 16 1.COMPONENT_TYPE_SINT32_NV corresponds to SPIR-V OpTypeInt 32 1.COMPONENT_TYPE_SINT64_NV corresponds to SPIR-V OpTypeInt 64 1.COMPONENT_TYPE_UINT8_NV corresponds to SPIR-V OpTypeInt 8 0.COMPONENT_TYPE_UINT16_NV corresponds to SPIR-V OpTypeInt 16 0.COMPONENT_TYPE_UINT32_NV corresponds to SPIR-V OpTypeInt 32 0.COMPONENT_TYPE_UINT64_NV corresponds to SPIR-V OpTypeInt 64 0.public static final int VK_COMPONENT_TYPE_FLOAT64_NV
COMPONENT_TYPE_FLOAT16_NV corresponds to SPIR-V OpTypeFloat 16.COMPONENT_TYPE_FLOAT32_NV corresponds to SPIR-V OpTypeFloat 32.COMPONENT_TYPE_FLOAT64_NV corresponds to SPIR-V OpTypeFloat 64.COMPONENT_TYPE_SINT8_NV corresponds to SPIR-V OpTypeInt 8 1.COMPONENT_TYPE_SINT16_NV corresponds to SPIR-V OpTypeInt 16 1.COMPONENT_TYPE_SINT32_NV corresponds to SPIR-V OpTypeInt 32 1.COMPONENT_TYPE_SINT64_NV corresponds to SPIR-V OpTypeInt 64 1.COMPONENT_TYPE_UINT8_NV corresponds to SPIR-V OpTypeInt 8 0.COMPONENT_TYPE_UINT16_NV corresponds to SPIR-V OpTypeInt 16 0.COMPONENT_TYPE_UINT32_NV corresponds to SPIR-V OpTypeInt 32 0.COMPONENT_TYPE_UINT64_NV corresponds to SPIR-V OpTypeInt 64 0.public static final int VK_COMPONENT_TYPE_SINT8_NV
COMPONENT_TYPE_FLOAT16_NV corresponds to SPIR-V OpTypeFloat 16.COMPONENT_TYPE_FLOAT32_NV corresponds to SPIR-V OpTypeFloat 32.COMPONENT_TYPE_FLOAT64_NV corresponds to SPIR-V OpTypeFloat 64.COMPONENT_TYPE_SINT8_NV corresponds to SPIR-V OpTypeInt 8 1.COMPONENT_TYPE_SINT16_NV corresponds to SPIR-V OpTypeInt 16 1.COMPONENT_TYPE_SINT32_NV corresponds to SPIR-V OpTypeInt 32 1.COMPONENT_TYPE_SINT64_NV corresponds to SPIR-V OpTypeInt 64 1.COMPONENT_TYPE_UINT8_NV corresponds to SPIR-V OpTypeInt 8 0.COMPONENT_TYPE_UINT16_NV corresponds to SPIR-V OpTypeInt 16 0.COMPONENT_TYPE_UINT32_NV corresponds to SPIR-V OpTypeInt 32 0.COMPONENT_TYPE_UINT64_NV corresponds to SPIR-V OpTypeInt 64 0.public static final int VK_COMPONENT_TYPE_SINT16_NV
COMPONENT_TYPE_FLOAT16_NV corresponds to SPIR-V OpTypeFloat 16.COMPONENT_TYPE_FLOAT32_NV corresponds to SPIR-V OpTypeFloat 32.COMPONENT_TYPE_FLOAT64_NV corresponds to SPIR-V OpTypeFloat 64.COMPONENT_TYPE_SINT8_NV corresponds to SPIR-V OpTypeInt 8 1.COMPONENT_TYPE_SINT16_NV corresponds to SPIR-V OpTypeInt 16 1.COMPONENT_TYPE_SINT32_NV corresponds to SPIR-V OpTypeInt 32 1.COMPONENT_TYPE_SINT64_NV corresponds to SPIR-V OpTypeInt 64 1.COMPONENT_TYPE_UINT8_NV corresponds to SPIR-V OpTypeInt 8 0.COMPONENT_TYPE_UINT16_NV corresponds to SPIR-V OpTypeInt 16 0.COMPONENT_TYPE_UINT32_NV corresponds to SPIR-V OpTypeInt 32 0.COMPONENT_TYPE_UINT64_NV corresponds to SPIR-V OpTypeInt 64 0.public static final int VK_COMPONENT_TYPE_SINT32_NV
COMPONENT_TYPE_FLOAT16_NV corresponds to SPIR-V OpTypeFloat 16.COMPONENT_TYPE_FLOAT32_NV corresponds to SPIR-V OpTypeFloat 32.COMPONENT_TYPE_FLOAT64_NV corresponds to SPIR-V OpTypeFloat 64.COMPONENT_TYPE_SINT8_NV corresponds to SPIR-V OpTypeInt 8 1.COMPONENT_TYPE_SINT16_NV corresponds to SPIR-V OpTypeInt 16 1.COMPONENT_TYPE_SINT32_NV corresponds to SPIR-V OpTypeInt 32 1.COMPONENT_TYPE_SINT64_NV corresponds to SPIR-V OpTypeInt 64 1.COMPONENT_TYPE_UINT8_NV corresponds to SPIR-V OpTypeInt 8 0.COMPONENT_TYPE_UINT16_NV corresponds to SPIR-V OpTypeInt 16 0.COMPONENT_TYPE_UINT32_NV corresponds to SPIR-V OpTypeInt 32 0.COMPONENT_TYPE_UINT64_NV corresponds to SPIR-V OpTypeInt 64 0.public static final int VK_COMPONENT_TYPE_SINT64_NV
COMPONENT_TYPE_FLOAT16_NV corresponds to SPIR-V OpTypeFloat 16.COMPONENT_TYPE_FLOAT32_NV corresponds to SPIR-V OpTypeFloat 32.COMPONENT_TYPE_FLOAT64_NV corresponds to SPIR-V OpTypeFloat 64.COMPONENT_TYPE_SINT8_NV corresponds to SPIR-V OpTypeInt 8 1.COMPONENT_TYPE_SINT16_NV corresponds to SPIR-V OpTypeInt 16 1.COMPONENT_TYPE_SINT32_NV corresponds to SPIR-V OpTypeInt 32 1.COMPONENT_TYPE_SINT64_NV corresponds to SPIR-V OpTypeInt 64 1.COMPONENT_TYPE_UINT8_NV corresponds to SPIR-V OpTypeInt 8 0.COMPONENT_TYPE_UINT16_NV corresponds to SPIR-V OpTypeInt 16 0.COMPONENT_TYPE_UINT32_NV corresponds to SPIR-V OpTypeInt 32 0.COMPONENT_TYPE_UINT64_NV corresponds to SPIR-V OpTypeInt 64 0.public static final int VK_COMPONENT_TYPE_UINT8_NV
COMPONENT_TYPE_FLOAT16_NV corresponds to SPIR-V OpTypeFloat 16.COMPONENT_TYPE_FLOAT32_NV corresponds to SPIR-V OpTypeFloat 32.COMPONENT_TYPE_FLOAT64_NV corresponds to SPIR-V OpTypeFloat 64.COMPONENT_TYPE_SINT8_NV corresponds to SPIR-V OpTypeInt 8 1.COMPONENT_TYPE_SINT16_NV corresponds to SPIR-V OpTypeInt 16 1.COMPONENT_TYPE_SINT32_NV corresponds to SPIR-V OpTypeInt 32 1.COMPONENT_TYPE_SINT64_NV corresponds to SPIR-V OpTypeInt 64 1.COMPONENT_TYPE_UINT8_NV corresponds to SPIR-V OpTypeInt 8 0.COMPONENT_TYPE_UINT16_NV corresponds to SPIR-V OpTypeInt 16 0.COMPONENT_TYPE_UINT32_NV corresponds to SPIR-V OpTypeInt 32 0.COMPONENT_TYPE_UINT64_NV corresponds to SPIR-V OpTypeInt 64 0.public static final int VK_COMPONENT_TYPE_UINT16_NV
COMPONENT_TYPE_FLOAT16_NV corresponds to SPIR-V OpTypeFloat 16.COMPONENT_TYPE_FLOAT32_NV corresponds to SPIR-V OpTypeFloat 32.COMPONENT_TYPE_FLOAT64_NV corresponds to SPIR-V OpTypeFloat 64.COMPONENT_TYPE_SINT8_NV corresponds to SPIR-V OpTypeInt 8 1.COMPONENT_TYPE_SINT16_NV corresponds to SPIR-V OpTypeInt 16 1.COMPONENT_TYPE_SINT32_NV corresponds to SPIR-V OpTypeInt 32 1.COMPONENT_TYPE_SINT64_NV corresponds to SPIR-V OpTypeInt 64 1.COMPONENT_TYPE_UINT8_NV corresponds to SPIR-V OpTypeInt 8 0.COMPONENT_TYPE_UINT16_NV corresponds to SPIR-V OpTypeInt 16 0.COMPONENT_TYPE_UINT32_NV corresponds to SPIR-V OpTypeInt 32 0.COMPONENT_TYPE_UINT64_NV corresponds to SPIR-V OpTypeInt 64 0.public static final int VK_COMPONENT_TYPE_UINT32_NV
COMPONENT_TYPE_FLOAT16_NV corresponds to SPIR-V OpTypeFloat 16.COMPONENT_TYPE_FLOAT32_NV corresponds to SPIR-V OpTypeFloat 32.COMPONENT_TYPE_FLOAT64_NV corresponds to SPIR-V OpTypeFloat 64.COMPONENT_TYPE_SINT8_NV corresponds to SPIR-V OpTypeInt 8 1.COMPONENT_TYPE_SINT16_NV corresponds to SPIR-V OpTypeInt 16 1.COMPONENT_TYPE_SINT32_NV corresponds to SPIR-V OpTypeInt 32 1.COMPONENT_TYPE_SINT64_NV corresponds to SPIR-V OpTypeInt 64 1.COMPONENT_TYPE_UINT8_NV corresponds to SPIR-V OpTypeInt 8 0.COMPONENT_TYPE_UINT16_NV corresponds to SPIR-V OpTypeInt 16 0.COMPONENT_TYPE_UINT32_NV corresponds to SPIR-V OpTypeInt 32 0.COMPONENT_TYPE_UINT64_NV corresponds to SPIR-V OpTypeInt 64 0.public static final int VK_COMPONENT_TYPE_UINT64_NV
COMPONENT_TYPE_FLOAT16_NV corresponds to SPIR-V OpTypeFloat 16.COMPONENT_TYPE_FLOAT32_NV corresponds to SPIR-V OpTypeFloat 32.COMPONENT_TYPE_FLOAT64_NV corresponds to SPIR-V OpTypeFloat 64.COMPONENT_TYPE_SINT8_NV corresponds to SPIR-V OpTypeInt 8 1.COMPONENT_TYPE_SINT16_NV corresponds to SPIR-V OpTypeInt 16 1.COMPONENT_TYPE_SINT32_NV corresponds to SPIR-V OpTypeInt 32 1.COMPONENT_TYPE_SINT64_NV corresponds to SPIR-V OpTypeInt 64 1.COMPONENT_TYPE_UINT8_NV corresponds to SPIR-V OpTypeInt 8 0.COMPONENT_TYPE_UINT16_NV corresponds to SPIR-V OpTypeInt 16 0.COMPONENT_TYPE_UINT32_NV corresponds to SPIR-V OpTypeInt 32 0.COMPONENT_TYPE_UINT64_NV corresponds to SPIR-V OpTypeInt 64 0.public static final int VK_SCOPE_DEVICE_NV
SCOPE_DEVICE_NV corresponds to SPIR-V Device scope.SCOPE_WORKGROUP_NV corresponds to SPIR-V Workgroup scope.SCOPE_SUBGROUP_NV corresponds to SPIR-V Subgroup scope.SCOPE_QUEUE_FAMILY_NV corresponds to SPIR-V QueueFamilyKHR scope.All enum values match the corresponding SPIR-V value.
public static final int VK_SCOPE_WORKGROUP_NV
SCOPE_DEVICE_NV corresponds to SPIR-V Device scope.SCOPE_WORKGROUP_NV corresponds to SPIR-V Workgroup scope.SCOPE_SUBGROUP_NV corresponds to SPIR-V Subgroup scope.SCOPE_QUEUE_FAMILY_NV corresponds to SPIR-V QueueFamilyKHR scope.All enum values match the corresponding SPIR-V value.
public static final int VK_SCOPE_SUBGROUP_NV
SCOPE_DEVICE_NV corresponds to SPIR-V Device scope.SCOPE_WORKGROUP_NV corresponds to SPIR-V Workgroup scope.SCOPE_SUBGROUP_NV corresponds to SPIR-V Subgroup scope.SCOPE_QUEUE_FAMILY_NV corresponds to SPIR-V QueueFamilyKHR scope.All enum values match the corresponding SPIR-V value.
public static final int VK_SCOPE_QUEUE_FAMILY_NV
SCOPE_DEVICE_NV corresponds to SPIR-V Device scope.SCOPE_WORKGROUP_NV corresponds to SPIR-V Workgroup scope.SCOPE_SUBGROUP_NV corresponds to SPIR-V Subgroup scope.SCOPE_QUEUE_FAMILY_NV corresponds to SPIR-V QueueFamilyKHR scope.All enum values match the corresponding SPIR-V value.
public static int nvkGetPhysicalDeviceCooperativeMatrixPropertiesNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
long pPropertyCount,
long pProperties)
GetPhysicalDeviceCooperativeMatrixPropertiesNVpPropertyCount - a pointer to an integer related to the number of cooperative matrix properties available or queried.public static int vkGetPhysicalDeviceCooperativeMatrixPropertiesNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
java.nio.IntBuffer pPropertyCount,
@Nullable
VkCooperativeMatrixPropertiesNV.Buffer pProperties)
To enumerate the supported cooperative matrix types and operations, call:
VkResult vkGetPhysicalDeviceCooperativeMatrixPropertiesNV(
VkPhysicalDevice physicalDevice,
uint32_t* pPropertyCount,
VkCooperativeMatrixPropertiesNV* pProperties);
If pProperties is NULL, then the number of cooperative matrix properties available is returned in pPropertyCount. Otherwise, pPropertyCount must point to a variable set by the user to the number of elements in the pProperties array, and on return the variable is overwritten with the number of structures actually written to pProperties. If pPropertyCount is less than the number of cooperative matrix properties available, at most pPropertyCount structures will be written. If pPropertyCount is smaller than the number of cooperative matrix properties available, INCOMPLETE will be returned instead of SUCCESS, to indicate that not all the available cooperative matrix properties were returned.
physicalDevice must be a valid VkPhysicalDevice handlepPropertyCount must be a valid pointer to a uint32_t valuepPropertyCount is not 0, and pProperties is not NULL, pProperties must be a valid pointer to an array of pPropertyCount VkCooperativeMatrixPropertiesNV structuresphysicalDevice - the physical device.pPropertyCount - a pointer to an integer related to the number of cooperative matrix properties available or queried.pProperties - either NULL or a pointer to an array of VkCooperativeMatrixPropertiesNV structures.public static int vkGetPhysicalDeviceCooperativeMatrixPropertiesNV(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice,
int[] pPropertyCount,
@Nullable
VkCooperativeMatrixPropertiesNV.Buffer pProperties)
GetPhysicalDeviceCooperativeMatrixPropertiesNVCopyright LWJGL. All Rights Reserved. License terms.