summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0104
Commit message (Collapse)AuthorAgeFilesLines
* CUDA: Add support for disabling CUDA_ARCHITECTURESRaul Tambre2020-06-152-0/+4
| | | | | | | | | | The ability to disable adding architectures completely for packaging purposes and cases requiring passing the architectures flags explicitly has been requested. Support a false value for CUDA_ARCHITECTURES and CMAKE_CUDA_ARCHITECTURES for this purpose. Implements #20821.
* Tests: Update CUDA tests to work with ClangRaul Tambre2020-05-151-0/+1
|
* CUDA: Add CUDA_ARCHITECTURES target propertyRaul Tambre2020-04-158-0/+40
Simplifies CUDA target architecture handling. Required for Clang support as Clang doesn't automatically select a supported architecture. We detect a supported architecture during compiler identification and set CMAKE_CUDA_ARCHITECTURES to it. Introduces CMP0104 for backwards compatibility with manually setting code generation flags with NVCC. Implements #17963.