From 21e15f8b88a374a41ea93c4a5854a762ff926468 Mon Sep 17 00:00:00 2001 From: Nikolas <127742645+nneubacher@users.noreply.github.com> Date: Wed, 10 Apr 2024 03:23:14 +0200 Subject: [PATCH] Update Makefile refactoring --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 53c8caf2e..0c1931435 100644 --- a/Makefile +++ b/Makefile @@ -646,7 +646,7 @@ CUDA_VERSION := $(shell $(NVCC) --version | grep -oP 'release (\K[0-9]+\.[0-9])' ifeq ($(shell awk -v "v=$(CUDA_VERSION)" 'BEGIN { print (v < 11.7) }'),1) ifndef CUDA_DOCKER_ARCH ifndef CUDA_POWER_ARCH -$(error I ERROR: To address this error for CUDA versions earlier than 11.7, you must specify your GPU's compute capability. Execute export CUDA_DOCKER_ARCH=compute_XX, replacing XX with your GPU's compute capability number. For assistance in finding your GPU's compute capability, visit https://developer.nvidia.com/cuda-gpus.) +$(error I ERROR: To address this error for CUDA versions earlier than 11.7, you must specify your GPU's compute capability. Run "export CUDA_DOCKER_ARCH=compute_XX", replacing XX with your GPU's compute capability number. For assistance in finding your GPU's compute capability, visit "https://developer.nvidia.com/cuda-gpus") endif # CUDA_POWER_ARCH endif # CUDA_DOCKER_ARCH endif # eq ($(shell echo "$(CUDA_VERSION) < 11.7" | bc),1)