Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | CUDA: native/all/all-major generates minimal set of ptx code | Robert Maynard | 2022-05-03 | 1 | -0/+1 |
| | | | | Fixes #23459 | ||||
* | CUDA: Add support for CUDA_ARCHITECTURES=native | Brad King | 2022-03-10 | 1 | -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 King | 2022-03-10 | 2 | -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`. |