llvm
d64092ed - [SYCL] Replace SPIR-V INTEL shuffles with generic version (#21416)

Commit
56 days ago
[SYCL] Replace SPIR-V INTEL shuffles with generic version (#21416) Replaced __spirv_SubgroupShuffleINTEL, __spirv_SubgroupShuffleXorINTEL, __spirv_SubgroupShuffleDownINTEL and __spirv_SubgroupShuffleUpINT with __spirv_GroupNonUniformShuffle... generic versions. According to the [OpenCL Specification](https://registry.khronos.org/OpenCL/specs/3.0-unified/html/OpenCL_Env.html#_cl_khr_subgroup_shuffle), these operations only accept scalars, so we force vectorization of vectors. Additionally this provides a nativecpu implementation mimicking the behavior of intel_subgroup's, only the subgroup scope has been implemented. --------- Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com> Co-authored-by: Alex Pim <alex.pim@imgtec.com> Co-authored-by: Larsen, Steffen <steffen.larsen@intel.com>
Author
Parents
Loading