[llvm-dev] [CUDA] Link .bc file with libdevice.bc

Yuanfeng Peng via llvm-dev llvm-dev at lists.llvm.org
Sat Jun 10 06:48:09 PDT 2017


Hi, 


In my project I need to instrument some CUDA device code, then link the instrumented bitcode file with libdevice to get PTX code.   I tried to use llvm-link to link the two files, but it failed.  I wonder what is the correct way to do this? 


Thanks!
Yuanfeng Peng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170610/4255979e/attachment.html>


More information about the llvm-dev mailing list