bench : minor fixes

pull/425/head
Georgi Gerganov 1 year ago
parent 472a473fd1
commit a6cf6f4c4a
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

@ -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

@ -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);

Loading…
Cancel
Save