how to compile CUDA to llvm IR?

前端 未结 1 2001
南笙
南笙 2021-01-06 14:23

I\'ve been trying for three days to compile a CUDA kernel into llvm IR and I couldn\'t do it. I\'ve changed langoptions.cpp and added CUDA=1; in t

相关标签:
1条回答
  • 2021-01-06 14:47

    clang –x=CUDA in the public LLVM trunk is something experimental done outside of NVIDIA; you should contact the llvm-dev alias with questions.

    NVCC doesn't support emitting LLVM IR.

    0 讨论(0)
提交回复
热议问题