From 97ee0985165722717d340f1adb7c162bc8a7491d Mon Sep 17 00:00:00 2001 From: David Addison Date: Wed, 4 Jun 2025 17:54:58 -0700 Subject: [PATCH] Add Turing (SM75) support to CUDA 13.0 builds --- src/common.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common.mk b/src/common.mk index 3c4a483b2b..e1747b5232 100644 --- a/src/common.mk +++ b/src/common.mk @@ -21,7 +21,8 @@ CUDA_MINOR = $(shell echo $(CUDA_VERSION) | cut -d "." -f 2) # of archs to reduce compile time. ifeq ($(shell test "0$(CUDA_MAJOR)" -ge 13; echo $$?),0) # Add Blackwell but drop Pascal & Volta support if we're using CUDA13.0 or above -NVCC_GENCODE ?= -gencode=arch=compute_80,code=sm_80 \ +NVCC_GENCODE ?= -gencode=arch=compute_75,code=sm_75 \ + -gencode=arch=compute_80,code=sm_80 \ -gencode=arch=compute_90,code=sm_90 \ -gencode=arch=compute_100,code=sm_100 \ -gencode=arch=compute_120,code=sm_120 \