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