From 173c15f4f4b9c2c88e7ea38dce5d8a43dda25103 Mon Sep 17 00:00:00 2001 From: David Addison Date: Wed, 7 May 2025 10:30:59 -0700 Subject: [PATCH] Re-add sm_70 support for CUDA 12.8+ and 13.0 builds [ROCm/rccl-tests commit: e041d901e6d3dabb67a22905cba77d9ba2689898] --- projects/rccl-tests/src/common.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/rccl-tests/src/common.mk b/projects/rccl-tests/src/common.mk index 2bc7e358a0..5fd9418860 100644 --- a/projects/rccl-tests/src/common.mk +++ b/projects/rccl-tests/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)" -eq 12 -a "0$(CUDA_MINOR)" -ge 8 -o "0$(CUDA_MAJOR)" -ge 13; echo $$?),0) # Include Blackwell support if we're using CUDA12.8 or above -NVCC_GENCODE ?= -gencode=arch=compute_80,code=sm_80 \ +NVCC_GENCODE ?= -gencode=arch=compute_70,code=sm_70 \ + -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 \