[cfe-dev] How to emit device-side IR when compiling cuda?

Hugh Perkins via cfe-dev cfe-dev at lists.llvm.org
Mon Sep 26 16:15:21 PDT 2016


I'm trying:

clang++-3.8 -I/usr/local/cuda-7.5/include llvm-sample.cu -emit-llvm -S -o
llvm-sample.ll

This seems to emit host-side IR only?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160927/ede80e00/attachment.html>


More information about the cfe-dev mailing list