summaryrefslogtreecommitdiffstats
path: root/Help/release
diff options
context:
space:
mode:
authorRaul Tambre <raul@tambre.ee>2020-08-29 09:44:08 (GMT)
committerRaul Tambre <raul@tambre.ee>2020-08-29 10:06:45 (GMT)
commit01428c5560f87122999a14fe4bf3e9b186b0127e (patch)
tree514db3bd1cd7d0ecbde7c5862832702d0f2b3643 /Help/release
parent9f81aa0f6908785791b4a9c16331986b1dee7319 (diff)
downloadCMake-01428c5560f87122999a14fe4bf3e9b186b0127e.zip
CMake-01428c5560f87122999a14fe4bf3e9b186b0127e.tar.gz
CMake-01428c5560f87122999a14fe4bf3e9b186b0127e.tar.bz2
CUDA: Fail fast if CMAKE_CUDA_ARCHITECTURES doesn't work during detection
Also re-ordered the code to avoid testing flags for other compilers, since we know the vendor before full detection.
Diffstat (limited to 'Help/release')
-rw-r--r--Help/release/dev/cuda-fail-fast.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/release/dev/cuda-fail-fast.rst b/Help/release/dev/cuda-fail-fast.rst
index 50bfce0..d857eb2 100644
--- a/Help/release/dev/cuda-fail-fast.rst
+++ b/Help/release/dev/cuda-fail-fast.rst
@@ -2,4 +2,5 @@ cuda-fail-fast
--------------
* If ``CUDA`` compiler detection fails with user-specified
- :variable:`CMAKE_CUDA_ARCHITECTURES` an error is raised.
+ :variable:`CMAKE_CUDA_ARCHITECTURES` or :variable:`CMAKE_CUDA_HOST_COMPILER`
+ an error is raised.