Bug: Device friend function is not seen in a different file

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug: Device friend function is not seen in a different file

Vassil Vassilev via cfe-dev
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

_______________________________________________
cfe-dev mailing list
[hidden email]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: Bug: Device friend function is not seen in a different file

Vassil Vassilev via cfe-dev
Hello again. I apologize for the anxiety, in my previous letter, something went wrong with a link to the reported bug. Its ID in llvm’s Bugzilla is 45982, the direct link (hope, it won’t break again) is https://bugs.llvm.org/show_bug.cgi?id=45982. Sorry again, I will be thankful if somebody takes a look.
 
 
Thank you!

Best wishes,
Nikolay Nechaev
 
 

Tuesday, June 2, 2020 7:43 PM +03:00 from Николай Нечаев <[hidden email]>:
 
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
 

_______________________________________________
cfe-dev mailing list
[hidden email]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev