Open HangJie720 opened 4 years ago
Thrust does not officially support Clang CUDA; the existing support for that compiler is a community-maintained effort. If someone submits a PR to address Clang CUDA bugs we'll typically accept them, but this isn't likely to be fixed otherwise.
I'd suggest trying out the current main
branch of Thrust to see if this has already been fixed since10.2 -- we've had a number of contributed Clang CUDA cleanups merged since then.
@HangJie720 Could you please have a look whether this issue is still reproducible
I try to use clang10 with cuda10.2 to compile the following code:
reference to hostfunction in host__device__function error occurs as follow.
while nvcc is ok, for calling hostfunction in host__device__function is not allowed for clang?