mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
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.
7 lines
252 B
ReStructuredText
7 lines
252 B
ReStructuredText
cuda-architectures
|
|
------------------
|
|
|
|
* Added :prop_tgt:`CUDA_ARCHITECTURES` target property for specifying CUDA
|
|
output architectures. Users are encouraged to use this instead of specifying
|
|
options manually, as this approach is compiler-agnostic.
|