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)
182
182
if (CLBlast_FOUND )
183
183
message (STATUS "CLBlast found" )
184
184
185
- set (GGML_OPENCL_SOURCES ggml-opencl.c ggml-opencl.h )
185
+ set (GGML_OPENCL_SOURCES ggml-opencl.cpp ggml-opencl.h )
186
186
187
187
add_compile_definitions (GGML_USE_CLBLAST )
188
188
Original file line number Diff line number Diff line change @@ -175,8 +175,8 @@ ifdef WHISPER_CLBLAST
175
175
CFLAGS += -DGGML_USE_CLBLAST
176
176
LDFLAGS += -lclblast -lOpenCL
177
177
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
180
180
$(CC ) $(CFLAGS ) -c $< -o $@
181
181
endif
182
182
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ cp -rpv ../ggml/src/ggml.c ./ggml.c
4
4
cp -rpv ../ggml/src/ggml-cuda.h ./ggml-cuda.h
5
5
cp -rpv ../ggml/src/ggml-cuda.cu ./ggml-cuda.cu
6
6
cp -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
8
8
cp -rpv ../ggml/include/ggml/ggml.h ./ggml.h
9
9
cp -rpv ../ggml/examples/common.h ./examples/common.h
10
10
cp -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