Skip to content

Implement SPV_INTEL_bfloat16_arithmetic#3290

Merged
MrSidims merged 2 commits intoKhronosGroup:mainfrom
MrSidims:upstream-bf16-arithm
Aug 11, 2025
Merged

Implement SPV_INTEL_bfloat16_arithmetic#3290
MrSidims merged 2 commits intoKhronosGroup:mainfrom
MrSidims:upstream-bf16-arithm

Conversation

@MrSidims
Copy link
Contributor

@MrSidims MrSidims commented Aug 5, 2025

The extension relaxes rules for bf16 type allowing to use it in some arithmetic operations.

Spec is available here:
intel/llvm#18352

Co-authered by: Michael Aziz michael.aziz@intel.com

Sidorov, Dmitry added 2 commits August 5, 2025 11:28
The extension relaxes rules for bf16 type allowing to use it in some
arithmetic operations.

Spec is available here:
intel/llvm#18352

Co-authered by: Michael Aziz <michael.aziz@intel.com>
Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
@MrSidims
Copy link
Contributor Author

MrSidims commented Aug 7, 2025

@maarquitos14 @YixingZhang007 please take a look

Copy link
Contributor

@maarquitos14 maarquitos14 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just a couple of nits and one question: should we test the interaction with SPV_INTEL_masked_gather_scatter? It's mentioned in the spec.

Copy link
Contributor

@YixingZhang007 YixingZhang007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. There's just a small nit change suggestion.

@MrSidims MrSidims merged commit 8242eb7 into KhronosGroup:main Aug 11, 2025
9 checks passed
MrSidims pushed a commit to MrSidims/SPIRV-LLVM-Translator that referenced this pull request Aug 14, 2025
The extension relaxes rules for bf16 type allowing to use it in some
arithmetic operations.

Spec is available here:
intel/llvm#18352

Co-authered by: Michael Aziz <michael.aziz@intel.com>

---------

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
MrSidims pushed a commit to MrSidims/SPIRV-LLVM-Translator that referenced this pull request Aug 14, 2025
The extension relaxes rules for bf16 type allowing to use it in some
arithmetic operations.

Spec is available here:
intel/llvm#18352

Co-authered by: Michael Aziz <michael.aziz@intel.com>

---------

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
MrSidims pushed a commit to MrSidims/SPIRV-LLVM-Translator that referenced this pull request Aug 14, 2025
The extension relaxes rules for bf16 type allowing to use it in some
arithmetic operations.

Spec is available here:
intel/llvm#18352

Co-authered by: Michael Aziz <michael.aziz@intel.com>

---------

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
MrSidims pushed a commit to MrSidims/SPIRV-LLVM-Translator that referenced this pull request Aug 14, 2025
The extension relaxes rules for bf16 type allowing to use it in some
arithmetic operations.

Spec is available here:
intel/llvm#18352

Co-authered by: Michael Aziz <michael.aziz@intel.com>

---------

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
MrSidims pushed a commit to MrSidims/SPIRV-LLVM-Translator that referenced this pull request Aug 14, 2025
The extension relaxes rules for bf16 type allowing to use it in some
arithmetic operations.

Spec is available here:
intel/llvm#18352

Co-authered by: Michael Aziz <michael.aziz@intel.com>

---------

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
MrSidims pushed a commit to MrSidims/SPIRV-LLVM-Translator that referenced this pull request Aug 14, 2025
The extension relaxes rules for bf16 type allowing to use it in some
arithmetic operations.

Spec is available here:
intel/llvm#18352

Co-authered by: Michael Aziz <michael.aziz@intel.com>

---------

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
MrSidims pushed a commit that referenced this pull request Aug 18, 2025
The extension relaxes rules for bf16 type allowing to use it in some
arithmetic operations.

Spec is available here:
intel/llvm#18352

Co-authered by: Michael Aziz <michael.aziz@intel.com>

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
MrSidims pushed a commit that referenced this pull request Aug 18, 2025
The extension relaxes rules for bf16 type allowing to use it in some
arithmetic operations.

Spec is available here:
intel/llvm#18352

Co-authered by: Michael Aziz <michael.aziz@intel.com>

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
MrSidims pushed a commit that referenced this pull request Aug 18, 2025
The extension relaxes rules for bf16 type allowing to use it in some
arithmetic operations.

Spec is available here:
intel/llvm#18352

Co-authered by: Michael Aziz <michael.aziz@intel.com>

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
MrSidims pushed a commit that referenced this pull request Aug 28, 2025
The extension relaxes rules for bf16 type allowing to use it in some
arithmetic operations.

Spec is available here:
intel/llvm#18352

Co-authered by: Michael Aziz <michael.aziz@intel.com>

---------

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
MrSidims pushed a commit that referenced this pull request Aug 28, 2025
The extension relaxes rules for bf16 type allowing to use it in some
arithmetic operations.

Spec is available here:
intel/llvm#18352

Co-authered by: Michael Aziz <michael.aziz@intel.com>

---------

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
MrSidims pushed a commit that referenced this pull request Aug 28, 2025
The extension relaxes rules for bf16 type allowing to use it in some
arithmetic operations.

Spec is available here:
intel/llvm#18352

Co-authered by: Michael Aziz <michael.aziz@intel.com>

---------

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
MrSidims pushed a commit to MrSidims/SPIRV-LLVM-Translator that referenced this pull request Aug 28, 2025
…p#3290) (KhronosGroup#3320)

The extension relaxes rules for bf16 type allowing to use it in some
arithmetic operations.

Spec is available here:
intel/llvm#18352

Co-authered by: Michael Aziz <michael.aziz@intel.com>

---------

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
MrSidims pushed a commit to MrSidims/SPIRV-LLVM-Translator that referenced this pull request Aug 28, 2025
…p#3290) (KhronosGroup#3320)

The extension relaxes rules for bf16 type allowing to use it in some
arithmetic operations.

Spec is available here:
intel/llvm#18352

Co-authered by: Michael Aziz <michael.aziz@intel.com>

---------

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
MrSidims pushed a commit to MrSidims/SPIRV-LLVM-Translator that referenced this pull request Aug 28, 2025
…p#3290) (KhronosGroup#3320)

The extension relaxes rules for bf16 type allowing to use it in some
arithmetic operations.

Spec is available here:
intel/llvm#18352

Co-authered by: Michael Aziz <michael.aziz@intel.com>

---------

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
MrSidims pushed a commit to MrSidims/SPIRV-LLVM-Translator that referenced this pull request Aug 28, 2025
…p#3290) (KhronosGroup#3320)

The extension relaxes rules for bf16 type allowing to use it in some
arithmetic operations.

Spec is available here:
intel/llvm#18352

Co-authered by: Michael Aziz <michael.aziz@intel.com>

---------

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
MrSidims pushed a commit that referenced this pull request Aug 31, 2025
…) (#3340)

The extension relaxes rules for bf16 type allowing to use it in some
arithmetic operations.

Spec is available here:
intel/llvm#18352

Co-authered by: Michael Aziz <michael.aziz@intel.com>

---------

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
MrSidims pushed a commit that referenced this pull request Aug 31, 2025
…) (#3341)

The extension relaxes rules for bf16 type allowing to use it in some
arithmetic operations.

Spec is available here:
intel/llvm#18352

Co-authered by: Michael Aziz <michael.aziz@intel.com>

---------

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
MrSidims pushed a commit to MrSidims/SPIRV-LLVM-Translator that referenced this pull request Sep 22, 2025
…p#3290) (KhronosGroup#3320)

The extension relaxes rules for bf16 type allowing to use it in some
arithmetic operations.

Spec is available here:
intel/llvm#18352

Co-authered by: Michael Aziz <michael.aziz@intel.com>

---------

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
MrSidims pushed a commit that referenced this pull request Sep 22, 2025
The extension relaxes rules for bf16 type allowing to use it in some
arithmetic operations.

Spec is available here:
intel/llvm#18352

Co-authered by: Michael Aziz <michael.aziz@intel.com>

---------

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
MrSidims pushed a commit to MrSidims/SPIRV-LLVM-Translator that referenced this pull request Sep 24, 2025
MrSidims pushed a commit to MrSidims/SPIRV-LLVM-Translator that referenced this pull request Sep 26, 2025
…#3290)

The extension relaxes rules for bf16 type allowing to use it in some
arithmetic operations.

Spec is available here:
intel/llvm#18352

Co-authered by: Michael Aziz <michael.aziz@intel.com>

---------

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
MrSidims pushed a commit to MrSidims/SPIRV-LLVM-Translator that referenced this pull request Sep 26, 2025
…p#3290)

The extension relaxes rules for bf16 type allowing to use it in some
arithmetic operations.

Spec is available here:
intel/llvm#18352

Co-authered by: Michael Aziz <michael.aziz@intel.com>

---------

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
MrSidims pushed a commit that referenced this pull request Sep 29, 2025
The extension relaxes rules for bf16 type allowing to use it in some
arithmetic operations.

Spec is available here:
intel/llvm#18352

Co-authered by: Michael Aziz <michael.aziz@intel.com>

---------

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
whitneywhtsang added a commit to whitneywhtsang/SPIRV-LLVM-Translator that referenced this pull request Oct 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants