Skip to content

Tests: Don't unnecessarily set CUDA_ARCHITECTURES

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

Architecture 30 was removed with CUDA 11, so most of the CUDA tests fail with it.
Remove setting the architecture and bump the minimum version to 3.18, so CMP0104 takes effect and we can rely on the default architecture, which is guaranteed to be compilable.

Testing the functionality of CUDA_ARCHITECTURES is already covered by CudaOnly.Architecture and CudaOnly.CompileFlags.

Merge request reports