Fix: Issue with CUBLAS compilation error
Fix: Issue with CUBLAS compilation error
This commit is contained in:
parent
d181095e5b
commit
f787b35f7b
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -109,7 +109,7 @@ ifdef LLAMA_CUBLAS
|
||||||
LDFLAGS += -lcublas -lculibos -lcudart -lcublasLt -lpthread -ldl -lrt -L/usr/local/cuda/lib64
|
LDFLAGS += -lcublas -lculibos -lcudart -lcublasLt -lpthread -ldl -lrt -L/usr/local/cuda/lib64
|
||||||
OBJS += ggml-cuda.o
|
OBJS += ggml-cuda.o
|
||||||
NVCC = nvcc
|
NVCC = nvcc
|
||||||
NVCCFLAGS = --forward-unknown-to-host-linker -arch=native --compiler-options -fPIC
|
NVCCFLAGS = --forward-unknown-to-host-compiler -arch=native
|
||||||
ggml-cuda.o: ggml-cuda.cu ggml-cuda.h
|
ggml-cuda.o: ggml-cuda.cu ggml-cuda.h
|
||||||
ifdef LLAMA_GPROF
|
ifdef LLAMA_GPROF
|
||||||
CFLAGS += -pg
|
CFLAGS += -pg
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue