bench : fix memcpy bench size

This commit is contained in:
Georgi Gerganov 2023-11-16 10:59:32 +02:00
parent 7883d1cae4
commit 848e54f3ad
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

View File

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