]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ci : build with CLBlast + ggml-opencl use GGML_API (#1576)
authorTamotsu Takahashi <redacted>
Fri, 29 Dec 2023 10:23:27 +0000 (19:23 +0900)
committerGitHub <redacted>
Fri, 29 Dec 2023 10:23:27 +0000 (12:23 +0200)
commitd87de61ae685648d6aff405cab22618a53f467ff
tree84a0621369f8e2f95424a3af1db49b178122ce8a
parentf5f485f8990f903fcffac7d39787dc5742034d9f
ci : build with CLBlast + ggml-opencl use GGML_API (#1576)

* Build with CLBlast

* Declare GGML_API

After rebasing, examples/talk-llama failed:

"D:\a\whisper.cpp\whisper.cpp\build\ALL_BUILD.vcxproj" (build target) (1) ->
"D:\a\whisper.cpp\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj" (default target) (14) ->
(Link target) ->
  llama.obj : error LNK2019: unresolved external symbol ggml_cl_free_data referenced in function "public: __cdecl llama_model::~llama_model(void)" (??1llama_model@@QEAA@XZ) [D:\a\whisper.cpp\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
  llama.obj : error LNK2019: unresolved external symbol ggml_cl_transform_tensor referenced in function "public: void __cdecl llama_model_loader::load_all_data(struct ggml_context *,void (__cdecl*)(float,void *),void *,struct llama_mlock *)" (?load_all_data@llama_model_loader@@QEAAXPEAUggml_context@@P6AXMPEAX@Z1PEAUllama_mlock@@@Z) [D:\a\whisper.cpp\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
  D:\a\whisper.cpp\whisper.cpp\build\bin\Release\talk-llama.exe : fatal error LNK1120: 2 unresolved externals [D:\a\whisper.cpp\whisper.cpp\build\examples\talk-llama\talk-llama.vcxproj]
.github/workflows/build.yml
examples/CMakeLists.txt
examples/talk-llama/CMakeLists.txt
ggml-opencl.h