[llvm-bugs] [Bug 49333] New: Compilation error in NVPTX deviceRLTs
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Feb 23 10:29:37 PST 2021
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: unassignedbugs at nondot.org
Reporter: tianshilei1992 at gmail.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210223/c0cf593a/attachment-0001.html>
More information about the llvm-bugs
mailing list