]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
android.java : re-add ggml source updates (#2975)
authorDaniel Bevenius <redacted>
Mon, 31 Mar 2025 14:14:33 +0000 (16:14 +0200)
committerGitHub <redacted>
Mon, 31 Mar 2025 14:14:33 +0000 (16:14 +0200)
This commit updates the ggml source to include the new unary and binary
operations. I merged https://github.com/ggerganov/whisper.cpp/pull/2958
which seems to have overwritten the changes to the ggml source which
were added in https://github.com/ggerganov/whisper.cpp/pull/2972.

Sorry about this.

examples/whisper.android.java/app/src/main/jni/whisper/CMakeLists.txt

index 1ea30917a62ae99a5995288721f7f884b0aaa3df..693b60414c02dc4d568c5a16c42ea44ff57718cb 100644 (file)
@@ -12,6 +12,8 @@ set(SOURCE_FILES
     ${WHISPER_LIB_DIR}/ggml/src/ggml-cpu/ggml-cpu-traits.cpp
     ${WHISPER_LIB_DIR}/ggml/src/ggml-cpu/ggml-cpu-quants.c
     ${WHISPER_LIB_DIR}/ggml/src/ggml-cpu/ggml-cpu.cpp
+    ${WHISPER_LIB_DIR}/ggml/src/ggml-cpu/unary-ops.cpp
+    ${WHISPER_LIB_DIR}/ggml/src/ggml-cpu/binary-ops.cpp
     ${WHISPER_LIB_DIR}/ggml/src/ggml-alloc.c
     ${WHISPER_LIB_DIR}/ggml/src/ggml-backend.cpp
     ${WHISPER_LIB_DIR}/ggml/src/ggml-backend-reg.cpp