File tree Expand file tree Collapse file tree 5 files changed +1688
-365
lines changed Expand file tree Collapse file tree 5 files changed +1688
-365
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ if (WHISPER_CLBLAST)
182182 if (CLBlast_FOUND)
183183 message (STATUS "CLBlast found" )
184184
185- set (GGML_OPENCL_SOURCES ggml-opencl.c ggml-opencl.h)
185+ set (GGML_OPENCL_SOURCES ggml-opencl.cpp ggml-opencl.h)
186186
187187 add_compile_definitions (GGML_USE_CLBLAST)
188188
Original file line number Diff line number Diff line change @@ -175,8 +175,8 @@ ifdef WHISPER_CLBLAST
175175 CFLAGS += -DGGML_USE_CLBLAST
176176 LDFLAGS += -lclblast -lOpenCL
177177 WHISPER_OBJ += ggml-opencl.o
178-
179- ggml-opencl.o : ggml-opencl.c ggml-opencl.h
178+
179+ ggml-opencl.o : ggml-opencl.cpp ggml-opencl.h
180180 $(CC ) $(CFLAGS ) -c $< -o $@
181181endif
182182
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ cp -rpv ../ggml/src/ggml.c ./ggml.c
44cp -rpv ../ggml/src/ggml-cuda.h ./ggml-cuda.h
55cp -rpv ../ggml/src/ggml-cuda.cu ./ggml-cuda.cu
66cp -rpv ../ggml/src/ggml-opencl.h ./ggml-opencl.h
7- cp -rpv ../ggml/src/ggml-opencl.c ./ggml-opencl.c
7+ cp -rpv ../ggml/src/ggml-opencl.cpp ./ggml-opencl.cpp
88cp -rpv ../ggml/include/ggml/ggml.h ./ggml.h
99cp -rpv ../ggml/examples/common.h ./examples/common.h
1010cp -rpv ../ggml/examples/common.cpp ./examples/common.cpp
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments