summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-03-02 12:52:11 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-03-02 12:52:17 (GMT)
commit04a7200c7561509a83c34f2af45b2d091ae59248 (patch)
treead51e5ff4b9fb3ba5c66965b89cc3a3c455bef42 /Help
parentf0f4390325aaf627fe100f9c53afb9087f68cbd1 (diff)
parent2796d6eeca3d2507f12bc10db82a945a773419a2 (diff)
downloadCMake-04a7200c7561509a83c34f2af45b2d091ae59248.zip
CMake-04a7200c7561509a83c34f2af45b2d091ae59248.tar.gz
CMake-04a7200c7561509a83c34f2af45b2d091ae59248.tar.bz2
Merge topic 'cuda-arch-all' into release-3.23
2796d6eeca CUDA: Fix CMAKE_CUDA_ARCHITECTURES=all/all-major with NVCC 11.5+ e450d55552 Help: Update CUDA_ARCHITECTURES docs for generic all/all-major support fe64c49e72 CUDA: Simplify CMAKE_CUDA_ARCHITECTURES special value logic Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7026
Diffstat (limited to 'Help')
-rw-r--r--Help/prop_tgt/CUDA_ARCHITECTURES.rst18
1 files changed, 10 insertions, 8 deletions
diff --git a/Help/prop_tgt/CUDA_ARCHITECTURES.rst b/Help/prop_tgt/CUDA_ARCHITECTURES.rst
index 41e5ae4..191f78f 100644
--- a/Help/prop_tgt/CUDA_ARCHITECTURES.rst
+++ b/Help/prop_tgt/CUDA_ARCHITECTURES.rst
@@ -20,17 +20,19 @@ variable if it is set when a target is created.
The ``CUDA_ARCHITECTURES`` target property must be set to a non-empty value on targets
that compile CUDA sources, or it is an error. See policy :policy:`CMP0104`.
-.. versionadded:: 3.23
+The ``CUDA_ARCHITECTURES`` may be set to one of the following special values:
- The ``CUDA_ARCHITECTURES`` may be set to the following special keywords:
+``all``
+ .. versionadded:: 3.23
- ``all``
- Requires NVIDIA 11.5+. Will compile for all supported major and minor real
- architectures, and the highest major virtual architecture.
+ Compile for all supported major and minor real architectures,
+ and the highest major virtual architecture.
- ``all-major``
- Requires NVIDIA 11.5+. Will compile for all supported major real
- architectures, and the highest major virtual architecture.
+``all-major``
+ .. versionadded:: 3.23
+
+ Compile for all supported major real architectures, and the highest
+ major virtual architecture.
Examples
^^^^^^^^