ggerganov commited on
Commit
0d5a5d8
·
unverified ·
1 Parent(s): 7936381

bench : minor fixes

Browse files
Files changed (2) hide show
  1. extra/bench-all.sh +1 -1
  2. whisper.cpp +1 -1
extra/bench-all.sh CHANGED
@@ -19,7 +19,7 @@ printf "\n"
19
  ./bench -w 1 -t 1 2>&1
20
 
21
  printf "\n"
22
- printf "Running ggml_mul_mat benchmark with " $n_threads " threads\n"
23
  printf "\n"
24
 
25
  ./bench -w 2 -t $n_threads 2>&1
 
19
  ./bench -w 1 -t 1 2>&1
20
 
21
  printf "\n"
22
+ printf "Running ggml_mul_mat benchmark with $n_threads threads\n"
23
  printf "\n"
24
 
25
  ./bench -w 2 -t $n_threads 2>&1
whisper.cpp CHANGED
@@ -4103,7 +4103,7 @@ WHISPER_API int whisper_bench_memcpy(int n_threads) {
4103
 
4104
  for (size_t i = 0; i < size; i++) sum += dst[i];
4105
 
4106
- fprintf(stderr, "sum: %s\n", sum == -536870910.00 ? "ok" : "error");
4107
  }
4108
 
4109
  free(src);
 
4103
 
4104
  for (size_t i = 0; i < size; i++) sum += dst[i];
4105
 
4106
+ fprintf(stderr, "sum: %s %f\n", sum == -536870910.00 ? "ok" : "error", sum);
4107
  }
4108
 
4109
  free(src);