Skip to content

Commit e041d90

Browse files
committed
Re-add sm_70 support for CUDA 12.8+ and 13.0 builds
1 parent 1021260 commit e041d90

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/common.mk‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ CUDA_MINOR = $(shell echo $(CUDA_VERSION) | cut -d "." -f 2)
2121
# of archs to reduce compile time.
2222
ifeq ($(shell test "0$(CUDA_MAJOR)" -eq 12 -a "0$(CUDA_MINOR)" -ge 8 -o "0$(CUDA_MAJOR)" -ge 13; echo $$?),0)
2323
# Include Blackwell support if we're using CUDA12.8 or above
24-
NVCC_GENCODE ?= -gencode=arch=compute_80,code=sm_80 \
24+
NVCC_GENCODE ?= -gencode=arch=compute_70,code=sm_70 \
25+
-gencode=arch=compute_80,code=sm_80 \
2526
-gencode=arch=compute_90,code=sm_90 \
2627
-gencode=arch=compute_100,code=sm_100 \
2728
-gencode=arch=compute_120,code=sm_120 \

0 commit comments

Comments
 (0)