KhronosGroup / SYCL-Docs

SYCL Open Source Specification
Other
114 stars 67 forks source link

bfloat16 data type support in SYCL #98

Open huangzhiyuan opened 4 years ago

huangzhiyuan commented 4 years ago

As title, I know SYCL implementation defines half data type in cl::sycl space, my question is bfloat16 is whether supported like cl::sycl::bfloat16 ?

keryell commented 4 years ago

It is not supported for now, but someone can come with an extension for it. More generally it would be nice to have quite more data types, especially when the hardware allows some great acceleration with them (arbitrary precision integer and fixed-point on FPGA...).

fraggamuffin commented 2 years ago

dpc++ has this extension aiming SYCL Next

fraggamuffin commented 2 years ago

https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/experimental/sycl_ext_oneapi_bfloat16.asciidoc