Skip to content

Commit

Permalink
bench : minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Jan 18, 2023
1 parent 472a473 commit a6cf6f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extra/bench-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ printf "\n"
./bench -w 1 -t 1 2>&1

printf "\n"
printf "Running ggml_mul_mat benchmark with " $n_threads " threads\n"
printf "Running ggml_mul_mat benchmark with $n_threads threads\n"
printf "\n"

./bench -w 2 -t $n_threads 2>&1
Expand Down
2 changes: 1 addition & 1 deletion whisper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4103,7 +4103,7 @@ WHISPER_API int whisper_bench_memcpy(int n_threads) {

for (size_t i = 0; i < size; i++) sum += dst[i];

fprintf(stderr, "sum: %s\n", sum == -536870910.00 ? "ok" : "error");
fprintf(stderr, "sum: %s %f\n", sum == -536870910.00 ? "ok" : "error", sum);
}

free(src);
Expand Down

0 comments on commit a6cf6f4

Please sign in to comment.