summaryrefslogtreecommitdiff
path: root/lib/spack/docs/build_systems
diff options
context:
space:
mode:
authorLeopold Talirz <leopold.talirz@gmail.com>2023-03-22 21:52:53 +0100
committerGitHub <noreply@github.com>2023-03-22 16:52:53 -0400
commit311d3be18e5b86afab9c7efc962de010f9eef3d6 (patch)
tree2821f07df45c5509bb3d185ace210d679debbeb3 /lib/spack/docs/build_systems
parent2393e456eea398bbccf54991050cb860523c99aa (diff)
downloadspack-311d3be18e5b86afab9c7efc962de010f9eef3d6.tar.gz
spack-311d3be18e5b86afab9c7efc962de010f9eef3d6.tar.bz2
spack-311d3be18e5b86afab9c7efc962de010f9eef3d6.tar.xz
spack-311d3be18e5b86afab9c7efc962de010f9eef3d6.zip
docs: mention cuda multi-arch capability (#36321)
Diffstat (limited to 'lib/spack/docs/build_systems')
-rw-r--r--lib/spack/docs/build_systems/cudapackage.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/spack/docs/build_systems/cudapackage.rst b/lib/spack/docs/build_systems/cudapackage.rst
index f586b71952..15fd6d7f02 100644
--- a/lib/spack/docs/build_systems/cudapackage.rst
+++ b/lib/spack/docs/build_systems/cudapackage.rst
@@ -28,11 +28,14 @@ This package provides the following variants:
* **cuda_arch**
- This variant supports the optional specification of the architecture.
+ This variant supports the optional specification of one or multiple architectures.
Valid values are maintained in the ``cuda_arch_values`` property and
are the numeric character equivalent of the compute capability version
(e.g., '10' for version 1.0). Each provided value affects associated
``CUDA`` dependencies and compiler conflicts.
+
+ The variant builds both PTX code for the _virtual_ architecture
+ (e.g. ``compute_10``) and binary code for the _real_ architecture (e.g. ``sm_10``).
GPUs and their compute capability versions are listed at
https://developer.nvidia.com/cuda-gpus .