[cfe-dev] Bug: Device friend function is not seen in a different file

Николай Нечаев via cfe-dev cfe-dev at lists.llvm.org
Tue Jun 2 09:43:51 PDT 2020

Hello! It seems to me I’ve encountered an error in clang (CUDA component). In a nutshell, in a multifile Cuda project, a __device__ friend function is not seen by the compiler (I figure out it’s a bug because nvcc compiles the project without issues). A detailed report is  here . It would be nice if any of you wanted to take a look.
Thank you!

Best wishes,
Nikolay Nechaev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200602/65267e5a/attachment.html>

More information about the cfe-dev mailing list