[llvm-bugs] [Bug 44803] "dynamic initialization is not supported" when compiling CUDA + Thrust code
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Feb 5 16:34:18 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=44803
Artem Belevich <tra at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WONTFIX
Status|NEW |RESOLVED
--- Comment #1 from Artem Belevich <tra at google.com> ---
I don't think it's a clang bug.
Thrust has changed a lot since the last time I've made it compile-able with
clang. Thrust uses fairly elaborate C++ and has fair amount of nvcc-isms that
don't work with clang. I've made an attempt to fix the current version around
CUDA-10.1 release last summer and gave up.
If you need thrust your options are to either use an older version or make an
effort to port it to work with clang. In the past NVIDIA did accept pull
requests for clang portability fixes.
--
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/20200206/0d020007/attachment.html>
More information about the llvm-bugs
mailing list