Yuanfeng Peng via llvm-dev
2017-Jun-17 02:45 UTC
[llvm-dev] Separate compilation of CUDA code?
Hi, I wonder whether the current version of LLVM supports separate compilation and linking of device code, i.e., is there a flag analogous to nvcc's --relocatable-device-code flag? If not, is there any plan to support this? Thanks! Yuanfeng Peng -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170617/3835ed80/attachment.html>
> > I wonder whether the current version of LLVM supports separate compilation > and linking of device code, i.e., is there a flag analogous to nvcc's > --relocatable-device-code flag? If not, is there any plan to support this? >+Justin. Hope he knows who knows the answer. Have you check cuda options Clang supports? Regards, chenwj -- Wei-Ren Chen (陳韋任) Homepage: https://people.cs.nctu.edu.tw/~chenwj -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170617/cd5b76dd/attachment.html>
BTW, have you checked this http://llvm.org/docs/CompileCudaWithLLVM.html , too? 2017-06-17 15:37 GMT+08:00 陳韋任 <chenwj.cs97g at g2.nctu.edu.tw>:> I wonder whether the current version of LLVM supports separate compilation >> and linking of device code, i.e., is there a flag analogous to nvcc's >> --relocatable-device-code flag? If not, is there any plan to support this? >> > > +Justin. Hope he knows who knows the answer. > > Have you check cuda options Clang supports? > > Regards, > chenwj > > -- > Wei-Ren Chen (陳韋任) > Homepage: https://people.cs.nctu.edu.tw/~chenwj >-- Wei-Ren Chen (陳韋任) Homepage: https://people.cs.nctu.edu.tw/~chenwj -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170617/5d5cf7fb/attachment.html>
Seemingly Similar Threads
- Separate compilation of CUDA code?
- problem on compiling cuda program with clang++
- [CUDA] Lost debug information when compiling CUDA code
- CUDA compilation "No available targets are compatible with this triple." problem
- problem on compiling cuda program with clang++