[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

Posting your error message might be helpful.