mirror of
https://git.adityakumar.xyz/llama.cpp.git
synced 2024-11-09 23:29:44 +00:00
fix: LLAMA_CUBLAS=1 undefined reference 'shm_open' (#1080)
This commit is contained in:
parent
c8c2c52482
commit
5addcb120c
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -102,7 +102,7 @@ ifdef LLAMA_OPENBLAS
|
||||||
endif
|
endif
|
||||||
ifdef LLAMA_CUBLAS
|
ifdef LLAMA_CUBLAS
|
||||||
CFLAGS += -DGGML_USE_CUBLAS -I/usr/local/cuda/include
|
CFLAGS += -DGGML_USE_CUBLAS -I/usr/local/cuda/include
|
||||||
LDFLAGS += -lcublas_static -lculibos -lcudart_static -lcublasLt_static -lpthread -ldl -L/usr/local/cuda/lib64
|
LDFLAGS += -lcublas_static -lculibos -lcudart_static -lcublasLt_static -lpthread -ldl -lrt -L/usr/local/cuda/lib64
|
||||||
OBJS += ggml-cuda.o
|
OBJS += ggml-cuda.o
|
||||||
ggml-cuda.o: ggml-cuda.cu ggml-cuda.h
|
ggml-cuda.o: ggml-cuda.cu ggml-cuda.h
|
||||||
nvcc -arch=native -c -o $@ $<
|
nvcc -arch=native -c -o $@ $<
|
||||||
|
|
Loading…
Reference in a new issue