https://bugs.llvm.org/show_bug.cgi?id=49333
Bug ID: 49333
Summary: Compilation error in NVPTX deviceRLTs
Product: OpenMP
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: release blocker
Priority: P
Component: Runtime Library
Assignee: unassignedb...@nondot.org
Reporter: tianshilei1...@gmail.com
CC: llvm-bugs@lists.llvm.org
A compilation error occurred when compiling OpenMP NVPTX deviceRTLs with Clang
in the release branch.
```
FAILED: openmp/libomptarget/deviceRTLs/nvptx/target_impl.cu-cuda_111-sm_60.bc
cd build-release/runtimes/runtimes-bins/openmp/libomptarget/deviceRTLs/nvptx &&
build-release/./bin/clang -S -x c++ -O1 -std=c++14 -target nvptx64 -Xclang
-emit-llvm-bc -Xclang -aux-triple -Xclang x86_64-unknown-linux-gnu -fopenmp
-fopenmp-cuda-mode -Xclang -fopenmp-is-device -D__CUDACC__
-Illvm-project/openmp/libomptarget/deviceRTLs
-Illvm-project/openmp/libomptarget/deviceRTLs/nvptx/src
-DOMPTARGET_NVPTX_DEBUG=0 -Xclang -target-cpu -Xclang sm_60 -D__CUDA_ARCH__=600
-Xclang -target-feature -Xclang +ptx71 -DCUDA_VERSION=11100
llvm-project/openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.cu -o
target_impl.cu-cuda_111-sm_60.bc
llvm-project/openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.cu:71:10:
error: '__nvvm_shfl_sync_idx_i32' needs target feature
ptx60|ptx61|ptx63|ptx64|ptx65|ptx70
return __nvvm_shfl_sync_idx_i32(Mask, Var, SrcLane, 0x1f);
^
llvm-project/openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.cu:82:10:
error: '__nvvm_shfl_sync_down_i32' needs target feature
ptx60|ptx61|ptx63|ptx64|ptx65|ptx70
return __nvvm_shfl_sync_down_i32(Mask, Var, Delta, T);
^
llvm-project/openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.cu:92:3:
error: '__nvvm_bar_warp_sync' needs target feature
ptx60|ptx61|ptx63|ptx64|ptx65|ptx70
__nvvm_bar_warp_sync(Mask);
^
```
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs