Skip to content

Commit

Permalink
opencl : remove ggml-opencl.c
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Jun 25, 2023
1 parent 9733329 commit a79d677
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 363 deletions.
2 changes: 1 addition & 1 deletion scripts/sync-whisper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cp -rpv ../whisper.cpp/ggml.c src/ggml.c
cp -rpv ../whisper.cpp/ggml-cuda.h src/ggml-cuda.h
cp -rpv ../whisper.cpp/ggml-cuda.cu src/ggml-cuda.cu
cp -rpv ../whisper.cpp/ggml-opencl.h src/ggml-opencl.h
cp -rpv ../whisper.cpp/ggml-opencl.c src/ggml-opencl.c
cp -rpv ../whisper.cpp/ggml-opencl.cpp src/ggml-opencl.cpp
cp -rpv ../whisper.cpp/ggml.h include/ggml/ggml.h
cp -rpv ../whisper.cpp/examples/common.h examples/common.h
cp -rpv ../whisper.cpp/examples/common.cpp examples/common.cpp
Expand Down
4 changes: 3 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,10 @@ if (GGML_CLBLAST)
message(STATUS "clBLAST found")

set(GGML_EXTRA_LIBS ${GGML_EXTRA_LIBS} ${CLBLAST_LIB})
set(GGML_OPENCL_SOURCES ggml-opencl.c ggml-opencl.h)
set(GGML_EXTRA_FLAGS ${GGML_EXTRA_FLAGS} -DGGML_USE_CLBLAST)

set(GGML_OPENCL_SOURCES ggml-opencl.cpp ggml-opencl.h)

link_libraries("-Wl,--copy-dt-needed-entries")
else()
message(WARNING "clBLAST not found")
Expand Down
361 changes: 0 additions & 361 deletions src/ggml-opencl.c

This file was deleted.

0 comments on commit a79d677

Please sign in to comment.