Skip to content

CUDA: Add support for disabling CUDA_ARCHITECTURES

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

The ability to disable adding architectures completely for packaging purposes and cases requiring passing the architectures flags explicitly has been requested. Support the special value "OFF" for CUDA_ARCHITECTURES and CMAKE_CUDA_ARCHITECTURES for this purpose.

Implements #20821 (closed).
Backport: release

Edited by Raul Tambre

Merge request reports