fix NVCC version on Makefile, __halves2half2 -> make_half2

This commit is contained in:
slaren 2023-07-16 00:20:43 +02:00
parent 24cc6f008f
commit 33ab185dd1
2 changed files with 2 additions and 1 deletions

View file

@ -176,6 +176,7 @@ ifdef LLAMA_CUDA
OBJS += ggml-cuda.o
NVCC = nvcc
NVCCFLAGS = --forward-unknown-to-host-compiler
NVCCV := $(shell $(NVCC) --version | tail -n 1)
ifdef LLAMA_DEBUG
NVCCFLAGS += -lineinfo
endif # LLAMA_DEBUG