From: Georgi Gerganov Date: Thu, 16 Nov 2023 08:59:32 +0000 (+0200) Subject: bench : fix memcpy bench size X-Git-Tag: upstream/1.7.4~1252 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=848e54f3ad051e226d81660b20c82008b34b90f4;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp bench : fix memcpy bench size --- 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 {