[llvm-bugs] [Bug 51757] Clang-12 cannot compile CUB and Thrust libraries in CUDA 11.4.1
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Sep 7 10:24:24 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=51757
Artem Belevich <tra at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WONTFIX
CC| |tra at google.com
Status|NEW |RESOLVED
--- Comment #1 from Artem Belevich <tra at google.com> ---
It appears to be a cub/thrust portability issue, not an issue with clang.
It would not be the first one -- AFAICT, "Compiles with NVCC" is their largest
concern. NVCC is somewhat more lax than clang so this king of errors tends to
creep in all the time.
The compilation failure is unfortunate, but there's little we can practically
do in clang to help. Relaxing c++ diagnostics in order to be bug-compatible
with NVCC is not likely to happen.
This should be fixed upstream in the thrust/cub repos. NVIDIA does accept
patches and we did get similar issues fixed in the past. E.g:
https://github.com/NVIDIA/thrust/commit/51363575f6d3edffac57d664fc3883cfa0e6d5c7
--
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/20210907/83a88178/attachment.html>
More information about the llvm-bugs
mailing list