mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 06:47:08 -05:00
Merge topic 'cuda-arch-all'
2796d6eecaCUDA: Fix CMAKE_CUDA_ARCHITECTURES=all/all-major with NVCC 11.5+e450d55552Help: Update CUDA_ARCHITECTURES docs for generic all/all-major supportfe64c49e72CUDA: Simplify CMAKE_CUDA_ARCHITECTURES special value logic Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7026
This commit is contained in:
@@ -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
|
||||
^^^^^^^^
|
||||
|
||||
Reference in New Issue
Block a user