diff options
author | Johannes Gäßler <johannesg@5d6.de> | 2023-07-31 21:02:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-31 21:02:19 +0200 |
commit | 49e7cb5bb1f75c91dd5db7d2d88cbc11bd9ee0c5 (patch) | |
tree | 99c3db7b85fd0d2f854567028f3239d28824b28c /Makefile | |
parent | b772bba42e3bbca3cdab224456f8ff2ce427fd0b (diff) |
CUDA: fixed LLAMA_FAST compilation option (#2473)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -243,7 +243,7 @@ ifdef LLAMA_CUDA_CCBIN NVCCFLAGS += -ccbin $(LLAMA_CUDA_CCBIN) endif ggml-cuda.o: ggml-cuda.cu ggml-cuda.h - $(NVCC) $(NVCCFLAGS) $(CXXFLAGS) -Wno-pedantic -c $< -o $@ + $(NVCC) $(NVCCFLAGS) $(subst -Ofast,-O3,$(CXXFLAGS)) -Wno-pedantic -c $< -o $@ endif # LLAMA_CUBLAS ifdef LLAMA_CLBLAST |