Safe Haskell | None |
---|---|
Language | Haskell2010 |
Name
VK_KHR_shader_integer_dot_product - device extension
VK_KHR_shader_integer_dot_product
- Name String
VK_KHR_shader_integer_dot_product
- Extension Type
- Device extension
- Registered Extension Number
- 281
- Revision
- 1
- Extension and Version Dependencies
- Requires Vulkan 1.0
- Requires
VK_KHR_get_physical_device_properties2
- Contact
- Extension Proposal
- VK_KHR_shader_integer_dot_product
Other Extension Metadata
- Last Modified Date
- 2021-06-16
- Interactions and External Dependencies
- This extension requires SPV_KHR_integer_dot_product.
- This extension interacts with
VK_KHR_shader_float16_int8
.
- IP Status
- No known IP claims.
- Contributors
- Kévin Petit, Arm Ltd.
- Jeff Bolz, NVidia
- Spencer Fricke, Samsung
- Jesse Hall, Google
- John Kessenich, Google
- Graeme Leese, Broadcom
- Einar Hov, Arm Ltd.
- Stuart Brady, Arm Ltd.
- Pablo Cascon, Arm Ltd.
- Tobias Hector, AMD
- Jeff Leger, Qualcomm
- Ruihao Zhang, Qualcomm
- Pierre Boudier, NVidia
- Jon Leech, The Khronos Group
- Tom Olson, Arm Ltd.
Description
This extension adds support for the integer dot product SPIR-V instructions defined in SPV_KHR_integer_dot_product. These instructions are particularly useful for neural network inference and training but find uses in other general purpose compute applications as well.
New Structures
Extending
PhysicalDeviceFeatures2
,DeviceCreateInfo
:
New Enum Constants
New SPIR-V Capabilities
Version History
Revision 1, 2021-06-16 (Kévin Petit)
- Initial revision
See Also
PhysicalDeviceShaderIntegerDotProductFeaturesKHR
,
PhysicalDeviceShaderIntegerDotProductPropertiesKHR
Document Notes
For more information, see the Vulkan Specification
This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.
Synopsis
- data PhysicalDeviceShaderIntegerDotProductFeaturesKHR = PhysicalDeviceShaderIntegerDotProductFeaturesKHR {}
- data PhysicalDeviceShaderIntegerDotProductPropertiesKHR = PhysicalDeviceShaderIntegerDotProductPropertiesKHR {
- integerDotProduct8BitUnsignedAccelerated :: Bool
- integerDotProduct8BitSignedAccelerated :: Bool
- integerDotProduct8BitMixedSignednessAccelerated :: Bool
- integerDotProduct4x8BitPackedUnsignedAccelerated :: Bool
- integerDotProduct4x8BitPackedSignedAccelerated :: Bool
- integerDotProduct4x8BitPackedMixedSignednessAccelerated :: Bool
- integerDotProduct16BitUnsignedAccelerated :: Bool
- integerDotProduct16BitSignedAccelerated :: Bool
- integerDotProduct16BitMixedSignednessAccelerated :: Bool
- integerDotProduct32BitUnsignedAccelerated :: Bool
- integerDotProduct32BitSignedAccelerated :: Bool
- integerDotProduct32BitMixedSignednessAccelerated :: Bool
- integerDotProduct64BitUnsignedAccelerated :: Bool
- integerDotProduct64BitSignedAccelerated :: Bool
- integerDotProduct64BitMixedSignednessAccelerated :: Bool
- integerDotProductAccumulatingSaturating8BitUnsignedAccelerated :: Bool
- integerDotProductAccumulatingSaturating8BitSignedAccelerated :: Bool
- integerDotProductAccumulatingSaturating8BitMixedSignednessAccelerated :: Bool
- integerDotProductAccumulatingSaturating4x8BitPackedUnsignedAccelerated :: Bool
- integerDotProductAccumulatingSaturating4x8BitPackedSignedAccelerated :: Bool
- integerDotProductAccumulatingSaturating4x8BitPackedMixedSignednessAccelerated :: Bool
- integerDotProductAccumulatingSaturating16BitUnsignedAccelerated :: Bool
- integerDotProductAccumulatingSaturating16BitSignedAccelerated :: Bool
- integerDotProductAccumulatingSaturating16BitMixedSignednessAccelerated :: Bool
- integerDotProductAccumulatingSaturating32BitUnsignedAccelerated :: Bool
- integerDotProductAccumulatingSaturating32BitSignedAccelerated :: Bool
- integerDotProductAccumulatingSaturating32BitMixedSignednessAccelerated :: Bool
- integerDotProductAccumulatingSaturating64BitUnsignedAccelerated :: Bool
- integerDotProductAccumulatingSaturating64BitSignedAccelerated :: Bool
- integerDotProductAccumulatingSaturating64BitMixedSignednessAccelerated :: Bool
- type KHR_SHADER_INTEGER_DOT_PRODUCT_SPEC_VERSION = 1
- pattern KHR_SHADER_INTEGER_DOT_PRODUCT_SPEC_VERSION :: forall a. Integral a => a
- type KHR_SHADER_INTEGER_DOT_PRODUCT_EXTENSION_NAME = "VK_KHR_shader_integer_dot_product"
- pattern KHR_SHADER_INTEGER_DOT_PRODUCT_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
data PhysicalDeviceShaderIntegerDotProductFeaturesKHR Source #
VkPhysicalDeviceShaderIntegerDotProductFeaturesKHR - Structure describing integer dot product features that can be supported by an implementation
Members
The members of the PhysicalDeviceShaderIntegerDotProductFeaturesKHR
structure describe the following features:
Description
If the PhysicalDeviceShaderIntegerDotProductFeaturesKHR
structure is
included in the pNext
chain of the
PhysicalDeviceFeatures2
structure passed to
getPhysicalDeviceFeatures2
,
it is filled in to indicate whether each corresponding feature is
supported. PhysicalDeviceShaderIntegerDotProductFeaturesKHR
can also
be used in the pNext
chain of DeviceCreateInfo
to selectively enable these features.
Valid Usage (Implicit)
See Also
Instances
data PhysicalDeviceShaderIntegerDotProductPropertiesKHR Source #
VkPhysicalDeviceShaderIntegerDotProductPropertiesKHR - Structure containing information about integer dot product support for a physical device
Description
If the PhysicalDeviceShaderIntegerDotProductPropertiesKHR
structure is
included in the pNext
chain of the
PhysicalDeviceProperties2
structure passed to
getPhysicalDeviceProperties2
,
it is filled in with each corresponding implementation-dependent
property.
These are properties of the integer dot product acceleration information of a physical device.
Note
A dot product operation is deemed accelerated if its implementation provides a performance advantage over application-provided code composed from elementary instructions and/or other dot product instructions, either because the implementation uses optimized machine code sequences whose generation from application-provided code cannot be guaranteed or because it uses hardware features that cannot otherwise be targeted from application-provided code.
Valid Usage (Implicit)
See Also
PhysicalDeviceShaderIntegerDotProductPropertiesKHR | |
|
Instances
pattern KHR_SHADER_INTEGER_DOT_PRODUCT_SPEC_VERSION :: forall a. Integral a => a Source #
type KHR_SHADER_INTEGER_DOT_PRODUCT_EXTENSION_NAME = "VK_KHR_shader_integer_dot_product" Source #
pattern KHR_SHADER_INTEGER_DOT_PRODUCT_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #