Emit device side LLVM IR for CUDA C++

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Emit device side LLVM IR for CUDA C++

Manas via cfe-dev
Hi all,

Does anyone know how to emit LLVM IR for the kernel of a CUDA C++ code? `clang++ -emit-llvm --cuda-gpu-arch=sm_75 x.cu` somehow only emits code for the host side code.

Thanks,
Navdeep

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