whisper.rn 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cpp/whisper.h CHANGED
@@ -515,8 +515,8 @@ extern "C" {
515
515
 
516
516
  WHISPER_API int whisper_bench_memcpy (int n_threads);
517
517
  WHISPER_API const char * whisper_bench_memcpy_str (int n_threads);
518
- WHISPER_API int whisper_bench_ggml_mul_mat (int n_threads);
519
- WHISPER_API const char * whisper_bench_ggml_mul_mat_str(int n_threads);
518
+ WHISPER_API int whisper_bench_wsp_ggml_mul_mat (int n_threads);
519
+ WHISPER_API const char * whisper_bench_wsp_ggml_mul_mat_str(int n_threads);
520
520
 
521
521
  // Control logging output; default behavior is to print to stderr
522
522
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whisper.rn",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "React Native binding of whisper.cpp",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -2,7 +2,7 @@ require "json"
2
2
 
3
3
  package = JSON.parse(File.read(File.join(__dir__, "package.json")))
4
4
  base_ld_flags = "-framework Accelerate"
5
- base_compiler_flags = "-DGGML_USE_ACCELERATE -Wno-shorten-64-to-32"
5
+ base_compiler_flags = "-DWSP_GGML_USE_ACCELERATE -Wno-shorten-64-to-32"
6
6
  folly_compiler_flags = "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma"
7
7
 
8
8
  # Use base_optimizer_flags = "" for debug builds