Yuanfeng Peng via llvm-dev
2017-Jun-10 13:48 UTC
[llvm-dev] [CUDA] Link .bc file with libdevice.bc
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>
Posting your error message might be helpful. 2017-06-10 21:48 GMT+08:00 Yuanfeng Peng via llvm-dev < llvm-dev at lists.llvm.org>:> 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 > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > >-- 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/20170611/27e224ba/attachment.html>