llvm icon indicating copy to clipboard operation
llvm copied to clipboard

[SYCL] Initial support for sycl_ext_oneapi_atomic16

Open KornevNikita opened this issue 1 year ago • 0 comments

Spec: https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/proposed/sycl_ext_oneapi_atomic16.asciidoc

This patch adds support for atomic_ref half specialization and introduces a new atomic16 aspect. There is no yet native support for 16bit float compare_exchange function, extension is needed.

16bit int (incl. bfloat16) atomics will be supported later, when there is a spec allowing these instructions.

KornevNikita avatar Aug 21 '24 17:08 KornevNikita