Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- getPhysicalDeviceCooperativeMatrixPropertiesNV :: PhysicalDevice -> IO (Result, "properties" ::: Vector CooperativeMatrixPropertiesNV)
- data PhysicalDeviceCooperativeMatrixFeaturesNV = PhysicalDeviceCooperativeMatrixFeaturesNV {}
- data PhysicalDeviceCooperativeMatrixPropertiesNV = PhysicalDeviceCooperativeMatrixPropertiesNV {}
- data CooperativeMatrixPropertiesNV = CooperativeMatrixPropertiesNV {
- mSize :: Word32
- nSize :: Word32
- kSize :: Word32
- aType :: ComponentTypeNV
- bType :: ComponentTypeNV
- cType :: ComponentTypeNV
- dType :: ComponentTypeNV
- scope :: ScopeNV
- newtype ScopeNV where
- ScopeNV Int32
- pattern SCOPE_DEVICE_NV :: ScopeNV
- pattern SCOPE_WORKGROUP_NV :: ScopeNV
- pattern SCOPE_SUBGROUP_NV :: ScopeNV
- pattern SCOPE_QUEUE_FAMILY_NV :: ScopeNV
- newtype ComponentTypeNV where
- ComponentTypeNV Int32
- pattern COMPONENT_TYPE_FLOAT16_NV :: ComponentTypeNV
- pattern COMPONENT_TYPE_FLOAT32_NV :: ComponentTypeNV
- pattern COMPONENT_TYPE_FLOAT64_NV :: ComponentTypeNV
- pattern COMPONENT_TYPE_SINT8_NV :: ComponentTypeNV
- pattern COMPONENT_TYPE_SINT16_NV :: ComponentTypeNV
- pattern COMPONENT_TYPE_SINT32_NV :: ComponentTypeNV
- pattern COMPONENT_TYPE_SINT64_NV :: ComponentTypeNV
- pattern COMPONENT_TYPE_UINT8_NV :: ComponentTypeNV
- pattern COMPONENT_TYPE_UINT16_NV :: ComponentTypeNV
- pattern COMPONENT_TYPE_UINT32_NV :: ComponentTypeNV
- pattern COMPONENT_TYPE_UINT64_NV :: ComponentTypeNV
- type NV_COOPERATIVE_MATRIX_SPEC_VERSION = 1
- pattern NV_COOPERATIVE_MATRIX_SPEC_VERSION :: forall a. Integral a => a
- type NV_COOPERATIVE_MATRIX_EXTENSION_NAME = "VK_NV_cooperative_matrix"
- pattern NV_COOPERATIVE_MATRIX_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
getPhysicalDeviceCooperativeMatrixPropertiesNV :: PhysicalDevice -> IO (Result, "properties" ::: Vector CooperativeMatrixPropertiesNV) Source #
vkGetPhysicalDeviceCooperativeMatrixPropertiesNV - Returns properties describing what cooperative matrix types are supported
Parameters
PhysicalDevice
is the physical device.
pPropertyCount
is a pointer to an integer related to the number of cooperative matrix properties available or queried.pProperties
is eitherNULL
or a pointer to an array ofCooperativeMatrixPropertiesNV
structures.
Description
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.
Valid Usage (Implicit)
PhysicalDevice
must be a validPhysicalDevice
handle
pPropertyCount
must be a valid pointer to auint32_t
value- If the value referenced by
pPropertyCount
is not0
, andpProperties
is notNULL
,pProperties
must be a valid pointer to an array ofpPropertyCount
CooperativeMatrixPropertiesNV
structures
Return Codes
See Also
data PhysicalDeviceCooperativeMatrixFeaturesNV Source #
VkPhysicalDeviceCooperativeMatrixFeaturesNV - Structure describing cooperative matrix features that can be supported by an implementation
Members
The members of the PhysicalDeviceCooperativeMatrixFeaturesNV
structure
describe the following features:
Description
If the PhysicalDeviceCooperativeMatrixFeaturesNV
structure is included
in the pNext
chain of
PhysicalDeviceFeatures2
,
it is filled with values indicating whether the feature is supported.
PhysicalDeviceCooperativeMatrixFeaturesNV
can also be included in
the pNext
chain of DeviceCreateInfo
to
enable features.
Valid Usage (Implicit)
See Also
PhysicalDeviceCooperativeMatrixFeaturesNV | |
|
Instances
data PhysicalDeviceCooperativeMatrixPropertiesNV Source #
VkPhysicalDeviceCooperativeMatrixPropertiesNV - Structure describing cooperative matrix properties supported by an implementation
Members
The members of the PhysicalDeviceCooperativeMatrixPropertiesNV
structure describe the following implementation-dependent limits:
Description
If the PhysicalDeviceCooperativeMatrixPropertiesNV
structure is
included in the pNext
chain of
PhysicalDeviceProperties2
,
it is filled with the implementation-dependent limits.
Valid Usage (Implicit)
See Also
PhysicalDeviceCooperativeMatrixPropertiesNV | |
|
Instances
data CooperativeMatrixPropertiesNV Source #
VkCooperativeMatrixPropertiesNV - Structure specifying cooperative matrix properties
Description
If some types are preferred over other types (e.g. for performance),
they should appear earlier in the list enumerated by
getPhysicalDeviceCooperativeMatrixPropertiesNV
.
At least one entry in the list must have power of two values for all
of MSize
, KSize
, and NSize
.
Valid Usage (Implicit)
See Also
ComponentTypeNV
, ScopeNV
,
StructureType
,
getPhysicalDeviceCooperativeMatrixPropertiesNV
CooperativeMatrixPropertiesNV | |
|
Instances
VkScopeNV - Specify SPIR-V scope
Description
All enum values match the corresponding SPIR-V value.
See Also
pattern SCOPE_DEVICE_NV :: ScopeNV |
|
pattern SCOPE_WORKGROUP_NV :: ScopeNV |
|
pattern SCOPE_SUBGROUP_NV :: ScopeNV |
|
pattern SCOPE_QUEUE_FAMILY_NV :: ScopeNV |
|
Instances
Eq ScopeNV Source # | |
Ord ScopeNV Source # | |
Read ScopeNV Source # | |
Show ScopeNV Source # | |
Storable ScopeNV Source # | |
Zero ScopeNV Source # | |
newtype ComponentTypeNV Source #
VkComponentTypeNV - Specify SPIR-V cooperative matrix component type
See Also
Instances
type NV_COOPERATIVE_MATRIX_SPEC_VERSION = 1 Source #
pattern NV_COOPERATIVE_MATRIX_SPEC_VERSION :: forall a. Integral a => a Source #
type NV_COOPERATIVE_MATRIX_EXTENSION_NAME = "VK_NV_cooperative_matrix" Source #
pattern NV_COOPERATIVE_MATRIX_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #