-
Notifications
You must be signed in to change notification settings - Fork 738
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SYCL] Fix
sycl::vec::convert<>
to allow conversion to and from `sy…
…cl::vec` of `bfloat16` type to that of other data types (#14105) Follow-up of and blocked by: #14085 After this change: On host, conversion between `vec<bfloat16>` and `vec<float>` will happen element-by-element. While on device, we'll use Spirv intrinsic `OpConvertFToBF16INTEL` and `OpConvertBF16ToFINTEL` (https://github.com/intel/llvm/blob/sycl/sycl/doc/design/spirv-extensions/SPV_INTEL_bfloat16_conversion.asciidoc) for vector conversion.
- Loading branch information
1 parent
f944ed6
commit 02c6bba
Showing
7 changed files
with
949 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.