Fix Makefile
This commit is contained in:
parent
f787b35f7b
commit
bdca7999c8
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue