From 360b72569ab4c3d0128493781660db400c6e22eb Mon Sep 17 00:00:00 2001 From: Emanuel Gull Date: Tue, 23 Jun 2026 11:08:12 +0200 Subject: [PATCH] fix: remove sm_70 and sm_75 from default GPU architecture list sm_70 (Volta) and sm_75 (Turing) were dropped in CUDA 13. Keeping them in the default list causes a hard build failure on any system with CUDA 13+. The minimum default is now sm_80 (Ampere), which is supported from CUDA 11.0 onward. Users who need Volta/Turing support can still pass -DGPU_ARCHS="70;75" explicitly with a CUDA 12 or older toolchain. Co-Authored-By: Claude Sonnet 4.6 --- cmake/CudaArchitectures.cmake | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cmake/CudaArchitectures.cmake b/cmake/CudaArchitectures.cmake index 0e13ee1..f8504b2 100644 --- a/cmake/CudaArchitectures.cmake +++ b/cmake/CudaArchitectures.cmake @@ -4,11 +4,6 @@ function(define_cuda_architectures) message(STATUS "GPU_ARCHS defined as ${GPU_ARCHS}. Generating CUDA code for SM ${GPU_ARCHS}") separate_arguments(GPU_ARCHS) else() - list(APPEND GPU_ARCHS_ - 70 - 75 - ) - if (CUDAToolkit_VERSION VERSION_GREATER_EQUAL 11.0) # Ampere GPU (SM80) support is only available in CUDA versions > 11.0 list(APPEND GPU_ARCHS_ 80)