[all-commits] [llvm/llvm-project] 27cc4a: [OpenMP][NVPTX] Rewrite CUDA intrinsics with NVVM ...
Shilei Tian via All-commits
all-commits at lists.llvm.org
Mon Jan 25 11:14:52 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 27cc4a8138d819f78bc4fc028e39772bbda84dbd
https://github.com/llvm/llvm-project/commit/27cc4a8138d819f78bc4fc028e39772bbda84dbd
Author: Shilei Tian <tianshilei1992 at gmail.com>
Date: 2021-01-25 (Mon, 25 Jan 2021)
Changed paths:
M openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.cu
Log Message:
-----------
[OpenMP][NVPTX] Rewrite CUDA intrinsics with NVVM intrinsics
This patch makes prep for dropping CUDA when compiling `deviceRTLs`.
CUDA intrinsics are replaced by NVVM intrinsics which refers to code in
`__clang_cuda_intrinsics.h`. We don't want to directly include it because in the
near future we're going to switch to OpenMP and by then the header cannot be
used anymore.
Reviewed By: JonChesterfield
Differential Revision: https://reviews.llvm.org/D95327
More information about the All-commits
mailing list