[all-commits] [llvm/llvm-project] 66ba49: [OpenMP][DeviceRTL] Extract shuffle idiom and port...
Johannes Doerfert via All-commits
all-commits at lists.llvm.org
Thu Mar 11 21:31:48 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 66ba494b4974017ba6e42deed138b9fb9ad50af7
https://github.com/llvm/llvm-project/commit/66ba494b4974017ba6e42deed138b9fb9ad50af7
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2021-03-11 (Thu, 11 Mar 2021)
Changed paths:
M openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
M openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.hip
A openmp/libomptarget/deviceRTLs/common/include/target/shuffle.h
M openmp/libomptarget/deviceRTLs/common/src/data_sharing.cu
M openmp/libomptarget/deviceRTLs/common/src/loop.cu
M openmp/libomptarget/deviceRTLs/common/src/reduction.cu
A openmp/libomptarget/deviceRTLs/common/src/shuffle.cpp
M openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt
M openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.cu
M openmp/libomptarget/deviceRTLs/target_interface.h
Log Message:
-----------
[OpenMP][DeviceRTL] Extract shuffle idiom and port it to declare variant
The shuffle idiom is differently implemented in our supported targets.
To reduce the "target_impl" file we now move the shuffle idiom in it's
own self-contained header that provides the implementation for AMDGPU
and NVPTX. A fallback can be added later on.
Reviewed By: tianshilei1992
Differential Revision: https://reviews.llvm.org/D95752
More information about the All-commits
mailing list