summaryrefslogtreecommitdiffstats
path: root/Help/release/dev
diff options
context:
space:
mode:
authorRaul Tambre <raul@tambre.ee>2021-12-27 18:40:29 (GMT)
committerRaul Tambre <raul@tambre.ee>2022-01-27 20:11:13 (GMT)
commit7a0d0983521cbd16030add2afbb0f7d9e75cce6f (patch)
tree0ec31eaa38525b49c7003c9b3401acf32eecfa5f /Help/release/dev
parentd19273bc7b361a54041706c02857993e244d3b50 (diff)
downloadCMake-7a0d0983521cbd16030add2afbb0f7d9e75cce6f.zip
CMake-7a0d0983521cbd16030add2afbb0f7d9e75cce6f.tar.gz
CMake-7a0d0983521cbd16030add2afbb0f7d9e75cce6f.tar.bz2
CUDA: Error on empty/invalid CMAKE_CUDA_ARCHITECTURES set by user
If empty we otherwise treat it the same as unset in most places, but still end up failing eventually with a confusing "Failed to find a working CUDA architecture". This also detects some other basic invalid ones (e.g. "al").
Diffstat (limited to 'Help/release/dev')
-rw-r--r--Help/release/dev/cuda-invalid-architectures.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/release/dev/cuda-invalid-architectures.rst b/Help/release/dev/cuda-invalid-architectures.rst
new file mode 100644
index 0000000..3313dbb
--- /dev/null
+++ b/Help/release/dev/cuda-invalid-architectures.rst
@@ -0,0 +1,5 @@
+cuda-invalid-architectures
+--------------------------
+
+* CUDA compiler detection now tries to detect invalid architectures and issue
+ an error.