Investigate performance when using OpSubgroupShuffleUpINTEL for SYCL shuffles
Open
enhancement
hip
performance
- Dominant language
- LLVM
- Stars
- 1.5k
- Forks
- 854
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 137
Description
The SPIR-V `OpSubgroupShuffleUpINTEL` (and `OpSubgroupShuffleDownINTEL`) has more functionality than required to implement the SYCL shuffles, which leads to unnecessary complexity.
It would be interesting to see the potential performance hit and to see how it could be optimized.
At the moment this is used for the HIP target, for NVidia the NVidia built-ins are directly used instead of the SPIR-V operation, doing the same thing for AMD may also be beneficial for performance.
It is unclear if this would have a significant impact but it should be investigated.
This was discussed on:
* https://github.com/intel/llvm/pull/5359#discussion_r789775554
Contributor guide
Assessment
This issue has not been assessed yet.