This revision was automatically updated to reflect the committed changes.
Closed by commit rL253387: [CUDA] Detect and link with CUDA's libdevice bitcode
library. (authored by tra).
Changed prior to commit:
http://reviews.llvm.org/D14556?vs=39863&id=40434#toc
Repository:
rL LLVM
http://revi
echristo accepted this revision.
echristo added a comment.
This revision is now accepted and ready to land.
A couple of inline comments, but this is fine for now.
We need a command line option to select CUDA version as well.
-eric
Comment at: lib/Driver/ToolChains.cpp:1635
@@
tra created this revision.
tra added a reviewer: echristo.
tra added a subscriber: cfe-commits.
This is libdevice-related part extracted from D13170
- added detection of libdevice bitcode file and API to find one appropriate
for the GPU we're compiling for.
- pass additional cc1 options