Fix Makefile

This commit is contained in:
Slaren 2023-04-22 16:12:37 +02:00
parent f787b35f7b
commit bdca7999c8

View file

@ -111,6 +111,8 @@ ifdef LLAMA_CUBLAS
NVCC = nvcc
NVCCFLAGS = --forward-unknown-to-host-compiler -arch=native
ggml-cuda.o: ggml-cuda.cu ggml-cuda.h
$(NVCC) $(NVCCFLAGS) $(CXXFLAGS) -Wno-pedantic -c $< -o $@
endif
ifdef LLAMA_GPROF
CFLAGS += -pg
CXXFLAGS += -pg