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

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​

BTW, have you checked this http://llvm.org/docs/CompileCudaWithLLVM.html , too?