Artem Belevich 8601733c1c [CUDA] Make CUDA compilation usable by default.
Currently clang requires several additional command
line options in order to enable new features needed
during CUDA compilation. This patch makes these
options default.

* Automatically include cuda_runtime.h if we've found
  a valid CUDA installation.
* Disable automatic CUDA header inclusion during unit tests.
* Added test case for command line construction.
* Enabled target overloads and relaxed call checks that are
  needed in order to include CUDA headers.
* Added CUDA-7.5 installation path to the CUDA installation search list.
* Define __CUDA__ macro to indicate CUDA compilation.

llvm-svn: 253389
2015-11-17 22:28:55 +00:00
2015-11-17 21:55:09 +00:00
S
Description
llvm supporting modern c++ on platforms not supported by upstream llvm
Apache-2.0
6.8 GiB
0 Stars 1 Watchers 0 Forks
Languages
LLVM 44.1%
C++ 29.1%
C 11.8%
Assembly 9.6%
MLIR 1.9%
Other 3%