summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCUDAInformation.cmake
Commit message (Collapse)AuthorAgeFilesLines
* CUDA: Pass host compiler to nvcc while device linkingMaikel van den Hurk2017-08-151-2/+2
|
* CUDA: CMAKE_EXPORT_COMPILE_COMMANDS now works with CUDA and NinjaRobert Maynard2017-07-131-1/+3
| | | | Fixes: #17061
* CUDA: When linking device code suppress CUDA 8.0+ deprecation warningsRobert Maynard2017-06-131-2/+11
| | | | | | The CUDA compiler automatic deprecation warnings are pure noise when doing device linking, and should be suppressed to reduce the amount of confusion from users.
* CUDA: Link to standard system libraries when linking as CUDABrad King2017-02-141-0/+6
| | | | | | | On Windows with MSVC-like host compilers we must honor the standard libraries chosen by the `Platform/Windows-MSVC` module. Otherwise C code linked into the CUDA binary that expects to have these libraries available may not link.
* CUDA: Now pass correct FLAGS when device link cuda executables.Robert Maynard2017-01-121-1/+1
| | | | | | | | Previously we had a two issues when building cuda executables that required separable compilation. The first was that we didn't propagate FLAGS causing any -arch / -gencode flags to be dropped, and secondly generators such as ninja would use the CXX language flags instead of CUDA when the executable was mixed language.
* CUDA: Use `.obj` object file extension on WindowsBrad King2017-01-121-1/+5
|
* CUDA: Allow platform files to set device linking rulesBrad King2017-01-121-5/+8
| | | | | Condition the default settings on the rule variables not already being set.
* CUDA: Refactor CMakeCUDAInformation to prepare for separable compilation.Robert Maynard2016-11-141-9/+66
|
* CUDA: Use the host compiler for linking CUDA executables and shared libs.Robert Maynard2016-11-141-3/+15
|
* CUDA: add support for specifying an explicit host compiler.Robert Maynard2016-11-141-4/+10
|
* CUDA: Enable header dependency scanning.Robert Maynard2016-11-141-1/+14
|
* CUDA: We now properly perform CUDA compiler identification.Robert Maynard2016-11-141-4/+0
|
* CUDA: Explicitly state all source files are cuda sources.Robert Maynard2016-11-141-1/+1
| | | | | This way you can mark a .C/.CPP files as a cuda source file and have nvcc build it as a cuda file.
* CUDA: Add basic CUDA language support for *NIX systems.Robert Maynard2016-11-141-0/+109