danbev commited on
Commit
5dca9f3
·
unverified ·
1 Parent(s): 32bf9c9

android.java : re-add ggml source updates (#2975)

Browse files

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 CHANGED
@@ -12,6 +12,8 @@ set(SOURCE_FILES
12
  ${WHISPER_LIB_DIR}/ggml/src/ggml-cpu/ggml-cpu-traits.cpp
13
  ${WHISPER_LIB_DIR}/ggml/src/ggml-cpu/ggml-cpu-quants.c
14
  ${WHISPER_LIB_DIR}/ggml/src/ggml-cpu/ggml-cpu.cpp
 
 
15
  ${WHISPER_LIB_DIR}/ggml/src/ggml-alloc.c
16
  ${WHISPER_LIB_DIR}/ggml/src/ggml-backend.cpp
17
  ${WHISPER_LIB_DIR}/ggml/src/ggml-backend-reg.cpp
 
12
  ${WHISPER_LIB_DIR}/ggml/src/ggml-cpu/ggml-cpu-traits.cpp
13
  ${WHISPER_LIB_DIR}/ggml/src/ggml-cpu/ggml-cpu-quants.c
14
  ${WHISPER_LIB_DIR}/ggml/src/ggml-cpu/ggml-cpu.cpp
15
+ ${WHISPER_LIB_DIR}/ggml/src/ggml-cpu/unary-ops.cpp
16
+ ${WHISPER_LIB_DIR}/ggml/src/ggml-cpu/binary-ops.cpp
17
  ${WHISPER_LIB_DIR}/ggml/src/ggml-alloc.c
18
  ${WHISPER_LIB_DIR}/ggml/src/ggml-backend.cpp
19
  ${WHISPER_LIB_DIR}/ggml/src/ggml-backend-reg.cpp