From f787b35f7b889b101fd76856127ee9087440fafd Mon Sep 17 00:00:00 2001 From: B1gM8c <89020353+B1gM8c@users.noreply.github.com> Date: Sat, 22 Apr 2023 21:19:02 +0800 Subject: [PATCH] Fix: Issue with CUBLAS compilation error Fix: Issue with CUBLAS compilation error --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ef6d63ede..662d46f9c 100644 --- a/Makefile +++ b/Makefile @@ -109,7 +109,7 @@ ifdef LLAMA_CUBLAS LDFLAGS += -lcublas -lculibos -lcudart -lcublasLt -lpthread -ldl -lrt -L/usr/local/cuda/lib64 OBJS += ggml-cuda.o 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 ifdef LLAMA_GPROF CFLAGS += -pg