VK_KHR_shader_bfloat16(3)

# VK_KHR_shader_bfloat16(3) Manual Page

## Name

VK_KHR_shader_bfloat16 - device extension

Loading… please wait.

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

- SPV_KHR_bfloat16

## Contact

- Tobias Hector [GitHub]tobski

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

- Extending VkPhysicalDeviceFeatures2, VkDeviceCreateInfo:

  - VkPhysicalDeviceShaderBfloat16FeaturesKHR

## New Enum Constants

- `VK_KHR_SHADER_BFLOAT16_EXTENSION_NAME`

- `VK_KHR_SHADER_BFLOAT16_SPEC_VERSION`

- Extending VkStructureType:

  - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_BFLOAT16_FEATURES_KHR

If VK_KHR_cooperative_matrix is supported:

- Extending VkComponentTypeKHR:

  - VK_COMPONENT_TYPE_BFLOAT16_KHR

## New SPIR-V Capabilities

- BFloat16TypeKHR

- BFloat16DotProductKHR

- BFloat16CooperativeMatrixKHR

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

## Copyright

Copyright 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0