Name Strings

SPV_EXT_bfloat16_arithmetic

Contact

To report problems with this extension, please open a new issue at:

Contributors

  • Ben Ashbaugh, Intel

  • Victor Mustya, Intel

Notice

Copyright (c) 2026 The Khronos Group Inc. Copyright terms at http://www.khronos.org/registry/speccopyright.html

Status

  • Complete

Version

Last Modified Date

2026-08-11

Revision

2

Dependencies

This extension is written against the SPIR-V Specification, Version 1.6 Revision 7, and SPV_KHR_bfloat16, Revision 1.

This extension requires SPIR-V 1.0 and SPV_KHR_bfloat16.

Overview

This extension extends SPV_KHR_bfloat16 to allow use of bfloat16 types with additional arithmetic floating-point instructions.

Extension Name

To use this extension within a SPIR-V module, the following OpExtension must be present in the module:

OpExtension "SPV_EXT_bfloat16_arithmetic"

Modifications to the SPIR-V Specification, Version 1.6

Validation Rules

Add validation rules to section 2.16.1 Universal Validation Rules:

Capabilities

Modify Section 3.2.30, "Capability", adding these rows to the Capability table:

Capability Implicitly Declares

6226

BFloat16ArithmeticEXT
Uses OpTypeFloat types with the BFloat16KHR floating point encoding with arithmetic instructions.

BFloat16TypeKHR

Interactions with Other Extensions

If SPV_INTEL_masked_gather_scatter is supported then OpMaskedGatherINTEL and OpMaskedScatterINTEL will also accept vectors of BFloat16KHR and vectors of pointers to BFloat16KHR.

Issues

  1. Should we define BFloat16 atomics and interaction with SPV_EXT_shader_atomic_float_min_max and SPV_EXT_shader_atomic_float_add in this extension?

    RESOLVED: The atomic operations will be defined by a separate extension.

Revision History

Rev Date Author Changes

1

2025-05-07

Victor Mustya

Initial public revision

2

2026-08-11

Ben Ashbaugh

Switched to an EXT extension