We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 438c2ca commit 96981f3Copy full SHA for 96981f3
Makefile
@@ -391,9 +391,12 @@ else
391
endif #LLAMA_CUDA_NVCC
392
ifdef CUDA_DOCKER_ARCH
393
NVCCFLAGS += -Wno-deprecated-gpu-targets -arch=$(CUDA_DOCKER_ARCH)
394
+endif # CUDA_DOCKER_ARCH
395
+ifdef CUDA_NATIVE_ARCH
396
+ NVCCFLAGS += -arch=$(CUDA_NATIVE_ARCH)
397
else
398
NVCCFLAGS += -arch=native
-endif # CUDA_DOCKER_ARCH
399
+endif # CUDA_NATIVE_ARCH
400
ifdef LLAMA_CUDA_FORCE_DMMV
401
NVCCFLAGS += -DGGML_CUDA_FORCE_DMMV
402
endif # LLAMA_CUDA_FORCE_DMMV
0 commit comments