<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Compilation error in NVPTX deviceRLTs"
href="https://bugs.llvm.org/show_bug.cgi?id=49333">49333</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Compilation error in NVPTX deviceRLTs
</td>
</tr>
<tr>
<th>Product</th>
<td>OpenMP
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>release blocker
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Runtime Library
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>tianshilei1992@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>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);
^
```</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>