vulkan-3.13: Bindings to the Vulkan graphics API.
Safe HaskellNone
LanguageHaskell2010

Vulkan.Extensions.VK_KHR_shader_integer_dot_product

Description

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
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

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

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

VK_KHR_shader_integer_dot_product, Bool32, StructureType

Constructors

PhysicalDeviceShaderIntegerDotProductFeaturesKHR 

Fields

  • shaderIntegerDotProduct :: Bool

    shaderIntegerDotProduct specifies whether shader modules can declare the DotProductInputAllKHR, DotProductInput4x8BitKHR, DotProductInput4x8BitPackedKHR and DotProductKHR capabilities.

Instances

Instances details
Eq PhysicalDeviceShaderIntegerDotProductFeaturesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_shader_integer_dot_product

Show PhysicalDeviceShaderIntegerDotProductFeaturesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_shader_integer_dot_product

Storable PhysicalDeviceShaderIntegerDotProductFeaturesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_shader_integer_dot_product

FromCStruct PhysicalDeviceShaderIntegerDotProductFeaturesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_shader_integer_dot_product

ToCStruct PhysicalDeviceShaderIntegerDotProductFeaturesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_shader_integer_dot_product

Zero PhysicalDeviceShaderIntegerDotProductFeaturesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_shader_integer_dot_product

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

VK_KHR_shader_integer_dot_product, Bool32, StructureType

Constructors

PhysicalDeviceShaderIntegerDotProductPropertiesKHR 

Fields

Instances

Instances details
Eq PhysicalDeviceShaderIntegerDotProductPropertiesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_shader_integer_dot_product

Show PhysicalDeviceShaderIntegerDotProductPropertiesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_shader_integer_dot_product

Storable PhysicalDeviceShaderIntegerDotProductPropertiesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_shader_integer_dot_product

FromCStruct PhysicalDeviceShaderIntegerDotProductPropertiesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_shader_integer_dot_product

ToCStruct PhysicalDeviceShaderIntegerDotProductPropertiesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_shader_integer_dot_product

Zero PhysicalDeviceShaderIntegerDotProductPropertiesKHR Source # 
Instance details

Defined in Vulkan.Extensions.VK_KHR_shader_integer_dot_product

type KHR_SHADER_INTEGER_DOT_PRODUCT_EXTENSION_NAME = "VK_KHR_shader_integer_dot_product" Source #