Skip to content

CUDA: Initialize CMAKE_CUDA_ARCHITECTURES using $ENV{CUDAARCHS}

Raul Tambre requested to merge tambre/cmake:cuda_env_archs into master

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.

Edited by Raul Tambre

Merge request reports

Loading