Skip to content

Commit 1dfc3d7

Browse files
authored
[SYCL][NATIVECPU] Add fp16 overload for shuffle builtins (#15597)
Adds `_Float16` overloads for `__spirv_SubgroupShuffle` builtins.
1 parent 5f2192a commit 1dfc3d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libdevice/nativecpu_utils.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ DefShuffleINTEL_All(int8_t, i8, int8_t)
295295
DefShuffleINTEL_All(uint8_t, i8, int8_t)
296296
DefShuffleINTEL_All(double, f64, double)
297297
DefShuffleINTEL_All(float, f32, float)
298+
DefShuffleINTEL_All(_Float16, f16, _Float16)
298299

299300
// Vector versions of shuffle are generated by the FixABIBuiltinsSYCLNativeCPU pass
300301

0 commit comments

Comments
 (0)