summaryrefslogtreecommitdiffstats
path: root/Tests/CudaOnly/ArchSpecial
Commit message (Collapse)AuthorAgeFilesLines
* CUDA: native/all/all-major generates minimal set of ptx codeRobert Maynard2022-05-031-0/+1
| | | | Fixes #23459
* CUDA: Add support for CUDA_ARCHITECTURES=nativeBrad King2022-03-101-1/+12
| | | | | | | | | | | CUDA 11.6 added the `nvcc -arch=native` flag to automatically compile for the host GPUs' architectures. Add support for specifying this special `native` value in `CMAKE_CUDA_ARCHITECTURES` and `CUDA_ARCHITECTURES`. During the compiler ABI detection step, detect the native architectures so we can pass them explicitly when using Clang or older versions of nvcc. Fixes: #22375
* Tests: Rename CudaOnly.{All => ArchSpecial}Brad King2022-03-102-0/+59
The purpose of the test is to cover special values of `CMAKE_CUDA_ARCHITECTURES`. Prepare to add more than just `all` and `all-major`. While at it, fix the `project()` name in the test to match what we pass to `ctest` with `--build-project`.