
NVCC's default architecture may be newer than the one supported by the machine's GPU. In such cases it's useful to have an environment variable for initializing CMAKE_CUDA_ARCHITECTURES to avoid specifying it for every invocation.
7 lines
227 B
ReStructuredText
7 lines
227 B
ReStructuredText
cuda-archs-env
|
|
--------------
|
|
|
|
* The :envvar:`CUDAARCHS` environment variable was added for initializing
|
|
:variable:`CMAKE_CUDA_ARCHITECTURES`. Useful in cases where the compiler
|
|
default is unsuitable for the machine's GPU.
|