mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-01-18 10:46:28 +00:00
bench : fix memcpy bench size
This commit is contained in:
parent
7883d1cae4
commit
848e54f3ad
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user