opencl : sync latest ggml-opencl

This commit is contained in:
Georgi Gerganov
2023-06-25 15:38:12 +03:00
parent 44cb044e66
commit 6c25fae1c4
5 changed files with 1688 additions and 365 deletions

View File

@@ -175,8 +175,8 @@ ifdef WHISPER_CLBLAST
CFLAGS += -DGGML_USE_CLBLAST
LDFLAGS += -lclblast -lOpenCL
WHISPER_OBJ += ggml-opencl.o
ggml-opencl.o: ggml-opencl.c ggml-opencl.h
ggml-opencl.o: ggml-opencl.cpp ggml-opencl.h
$(CC) $(CFLAGS) -c $< -o $@
endif