Merge topic 'cuda_vs_arch_all'

daf372c4d6 CUDA: Fix issuing error if default architecture detection fails
7a0d098352 CUDA: Error on empty/invalid CMAKE_CUDA_ARCHITECTURES set by user
d19273bc7b CUDA: Support all and all-major on Visual Studio
5f667d783a CUDA: Actually use reverse architecture deprecation order for Clang

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Brad King <brad.king@kitware.com>
Merge-request: !6912
This commit is contained in:
Brad King
2022-01-28 14:40:44 +00:00
committed by Kitware Robot
13 changed files with 85 additions and 33 deletions

View File

@@ -0,0 +1,11 @@
cuda-compiler-detection-robustness
----------------------------------
* CUDA compiler detection now issues an error in all cases when it's unable to
compute the default architecture(s) if required (see :policy:`CMP0104`).
* CUDA compiler detection now correctly handles ``OFF`` for
:variable:`CMAKE_CUDA_ARCHITECTURES` on Clang.
* CUDA compiler detection now supports the theoretical case of multiple default
architectures.

View File

@@ -0,0 +1,5 @@
cuda-invalid-architectures
--------------------------
* CUDA compiler detection now tries to detect invalid architectures and issue
an error.