[llvm-bugs] [Bug 41756] New: __nvvm_shfl_sync_idx_i32 error when building Clang OpenMP offload support
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun May 5 08:53:50 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=41756
Bug ID: 41756
Summary: __nvvm_shfl_sync_idx_i32 error when building Clang
OpenMP offload support
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: OpenMP
Assignee: unassignedclangbugs at nondot.org
Reporter: csdaley at lbl.gov
CC: llvm-bugs at lists.llvm.org
I cannot compile the OpenMP offload file parallel.cu-sm_60.bc. I am using
CUDA-9.2.
```
/project/projectdirs/m888/csdaley/software/cgpu/llvm/9.0.0-git-patched-upstream_20190502/lib/clang/9.0.0/include
/__clang_cuda_intrinsics.h:173:35: error: '__nvvm_shfl_sync_idx_i32' needs
target feature ptx60|ptx61|ptx63|ptx6
4
make -f projects/compiler-rt/lib/hwasan/CMakeFiles/hwasan.dir/build.make
projects/compiler-rt/lib/hwasan/CMakeFi
les/hwasan.dir/depend
__MAKE_SYNC_SHUFFLES(__shfl_sync, __nvvm_shfl_sync_idx_i32,
^
projects/openmp/libomptarget/deviceRTLs/nvptx/CMakeFiles/omptarget-nvptx-60-bc.dir/build.make:104:
recipe for target
'projects/openmp/libomptarget/deviceRTLs/nvptx/parallel.cu-sm_60.bc' failed
make[2]: ***
[projects/openmp/libomptarget/deviceRTLs/nvptx/parallel.cu-sm_60.bc] Error 1
make[2]: *** Waiting for unfinished jobs....
```
It appears to be an issue with commit
https://github.com/llvm-mirror/clang/commit/eee685e5e1a9e12245a2a20bfd44db99ca63f8ce
because rolling back 1 commit allows me to build the compiler.
--
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/20190505/63695303/attachment-0001.html>
More information about the llvm-bugs
mailing list