From 848e54f3ad051e226d81660b20c82008b34b90f4 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Thu, 16 Nov 2023 10:59:32 +0200 Subject: [PATCH] bench : fix memcpy bench size --- whisper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whisper.cpp b/whisper.cpp index acedee0d..e2197ff2 100644 --- a/whisper.cpp +++ b/whisper.cpp @@ -6073,7 +6073,7 @@ WHISPER_API const char * whisper_bench_memcpy_str(int n_threads) { size_t arr = n_threads > 0 ? 1024llu : n_threads; // trick to avoid compiler optimizations // 1GB array - const size_t size = arr*1e9; + const size_t size = arr*1e6; // single-thread {