Skip to content

Commit e393259

Browse files
committed
Revert "make : add optional CUDA_NATIVE_ARCH (#2482)"
This reverts commit 96981f3. See: #2482 (comment)
1 parent 9d02956 commit e393259

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -391,12 +391,9 @@ else
391391
endif #LLAMA_CUDA_NVCC
392392
ifdef CUDA_DOCKER_ARCH
393393
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)
397394
else
398395
NVCCFLAGS += -arch=native
399-
endif # CUDA_NATIVE_ARCH
396+
endif # CUDA_DOCKER_ARCH
400397
ifdef LLAMA_CUDA_FORCE_DMMV
401398
NVCCFLAGS += -DGGML_CUDA_FORCE_DMMV
402399
endif # LLAMA_CUDA_FORCE_DMMV

0 commit comments

Comments
 (0)