File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ MK_NVCCFLAGS += -O3
109
109
else
110
110
MK_CFLAGS += -O3
111
111
MK_CXXFLAGS += -O3
112
+ MK_NVCCFLAGS += -O3
112
113
endif
113
114
114
115
# clock_gettime came in POSIX.1b (1993)
@@ -365,7 +366,7 @@ ifdef LLAMA_CUBLAS
365
366
MK_CPPFLAGS += -DGGML_USE_CUBLAS -I/usr/local/cuda/include -I/opt/cuda/include -I$(CUDA_PATH)/targets/x86_64-linux/include -I/usr/local/cuda/targets/aarch64-linux/include
366
367
MK_LDFLAGS += -lcuda -lcublas -lculibos -lcudart -lcublasLt -lpthread -ldl -lrt -L/usr/local/cuda/lib64 -L/opt/cuda/lib64 -L$(CUDA_PATH)/targets/x86_64-linux/lib -L/usr/local/cuda/targets/aarch64-linux/lib -L/usr/lib/wsl/lib
367
368
OBJS += ggml-cuda.o
368
- MK_NVCCFLAGS = -use_fast_math
369
+ MK_NVCCFLAGS + = -use_fast_math
369
370
ifndef JETSON_EOL_MODULE_DETECT
370
371
MK_NVCCFLAGS += --forward-unknown-to-host-compiler
371
372
endif # JETSON_EOL_MODULE_DETECT
You can’t perform that action at this time.
0 commit comments