Skip to content

Commit

Permalink
Revert "make : add optional CUDA_NATIVE_ARCH (#2482)"
Browse files Browse the repository at this point in the history
This reverts commit 96981f3.

See:

#2482 (comment)
  • Loading branch information
ggerganov committed Oct 23, 2023
1 parent 9d02956 commit e393259
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -391,12 +391,9 @@ else
endif #LLAMA_CUDA_NVCC
ifdef CUDA_DOCKER_ARCH
NVCCFLAGS += -Wno-deprecated-gpu-targets -arch=$(CUDA_DOCKER_ARCH)
endif # CUDA_DOCKER_ARCH
ifdef CUDA_NATIVE_ARCH
NVCCFLAGS += -arch=$(CUDA_NATIVE_ARCH)
else
NVCCFLAGS += -arch=native
endif # CUDA_NATIVE_ARCH
endif # CUDA_DOCKER_ARCH
ifdef LLAMA_CUDA_FORCE_DMMV
NVCCFLAGS += -DGGML_CUDA_FORCE_DMMV
endif # LLAMA_CUDA_FORCE_DMMV
Expand Down

0 comments on commit e393259

Please sign in to comment.