Skip to content

[NFC][SYCL] Use bit_cast for bfloat16 casts. #17256

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 1, 2025
Merged

Conversation

bader
Copy link
Contributor

@bader bader commented Feb 28, 2025

bfloat16.hpp defines two help functions to cast between 16-bit integer and bfloat16 types. These fucntions duplicate logic of sycl::bit_cast standard function.

bfloat16.hpp defines two help functions to cast between 16-bit integer
and bfloat16 types. These fucntions duplicate logic of sycl::bit_cast
standard function.
@bader bader requested a review from a team as a code owner February 28, 2025 23:49
@bader bader requested review from 0x12CC and againull February 28, 2025 23:56
@bader bader temporarily deployed to WindowsCILock March 1, 2025 00:56 — with GitHub Actions Inactive
@bader bader temporarily deployed to WindowsCILock March 1, 2025 01:29 — with GitHub Actions Inactive
@bader bader merged commit 8e69702 into intel:sycl Mar 1, 2025
19 of 21 checks passed
@bader bader deleted the bfloat16-refactor branch March 1, 2025 02:15
joeatodd added a commit to codeplaysoftware/cutlass-sycl that referenced this pull request Mar 3, 2025
`bfloat16toBits` was removed in
[DPC++](intel/llvm#17256) to be replaced with
`bit_cast`. Should fix CI failures described
[here](#239 (comment)).

---------

Co-authored-by: Tadej Ciglarič <[email protected]>
muhammad-tanvir-1211 pushed a commit to muhammad-tanvir-1211/cutlass-fork that referenced this pull request Mar 4, 2025
`bfloat16toBits` was removed in
[DPC++](intel/llvm#17256) to be replaced with
`bit_cast`. Should fix CI failures described
[here](codeplaysoftware#239 (comment)).

---------

Co-authored-by: Tadej Ciglarič <[email protected]>
taozha2 pushed a commit to taozha2/cutlass-fork that referenced this pull request Mar 6, 2025
`bfloat16toBits` was removed in
[DPC++](intel/llvm#17256) to be replaced with
`bit_cast`. Should fix CI failures described
[here](codeplaysoftware#239 (comment)).

---------

Co-authored-by: Tadej Ciglarič <[email protected]>
tdeng5 pushed a commit to taozha2/cutlass-fork that referenced this pull request Mar 6, 2025
`bfloat16toBits` was removed in
[DPC++](intel/llvm#17256) to be replaced with
`bit_cast`. Should fix CI failures described
[here](codeplaysoftware#239 (comment)).

---------

Co-authored-by: Tadej Ciglarič <[email protected]>
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.

2 participants