HORIZON HASKELLDocslts/ghc-10.0.x8174fa42026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11

Modulevulkan-3.27GHC2021

Vulkan.Extensions.VK_KHR_shader_bfloat16

Name

VK_KHR_shader_bfloat16 - device extension

VK_KHR_shader_bfloat16

Name String

VK_KHR_shader_bfloat16

Extension Type

Device extension

Registered Extension Number

142

Revision

1

Ratification Status

Ratified

Extension and Version Dependencies

VK_KHR_get_physical_device_properties2

or

Vulkan Version 1.1

API Interactions
  • Interacts with VK_KHR_cooperative_matrix

SPIR-V Dependencies
Contact
Extension Proposal

VK_KHR_shader_bfloat16

Other Extension Metadata

Last Modified Date

2024-04-09

IP Status

No known IP claims.

Contributors
  • Tobias Hector, AMD

  • Stu Smith, AMD

  • Jeff Bolz, Nvidia

  • Kévin Petit, Arm

  • David Neto, Google

  • Graeme Leese, Broadcom

  • Ruihao Zhang, Qualcomm

  • Mark Sheppard, Imagination

  • Ben Ashbaugh, Intel

  • Dmitry Sidorov, Intel

  • Victor Mustya, Intel

Description

This extension enables support for bfloat16 (“brain float”) operations in shaders as defined in SPV_KHR_bfloat16.

New Structures

New Enum Constants

If VK_KHR_cooperative_matrix is supported:

New SPIR-V Capabilities

Version History

  • Revision 1, 2024-04-09 (Stu Smith)

    • Initial draft

See Also

No cross-references are available

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.

  • 4 types
  • Packagevulkan-3.27
  • Exports22
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceVK_KHR_shader_bfloat16.hs

VkPhysicalDeviceShaderBfloat16FeaturesKHR - Structure describing bfloat16 features that can be supported by the implementation

Members

This structure describes the following features:

Description

If the PhysicalDeviceShaderBfloat16FeaturesKHR 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. If the application wishes to use a Device with any features described by PhysicalDeviceShaderBfloat16FeaturesKHR, it must add an instance of the structure, with the desired feature members set to TRUE, to the pNext chain of DeviceCreateInfo when creating the Device.

Structure Chaining

Extends the structures

See Also

VK_KHR_shader_bfloat16, Bool32, StructureType

Constructors

Instances6Eq, Show, Storable, FromCStruct, ToCStruct, Zero
newtypenewtype ComponentTypeKHR
#

VkComponentTypeKHR - Specify SPIR-V cooperative matrix component type

Description

See Also

VK_KHR_cooperative_matrix, VK_NV_cooperative_matrix, VK_NV_cooperative_vector, ConvertCooperativeVectorMatrixInfoNV, CooperativeMatrixFlexibleDimensionsPropertiesNV, CooperativeMatrixPropertiesKHR, CooperativeMatrixPropertiesNV, CooperativeVectorPropertiesNV

Instances6Eq, Ord, Read, Show, Storable, Zero