mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-01-27 08:18:55 +01: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
|
size_t arr = n_threads > 0 ? 1024llu : n_threads; // trick to avoid compiler optimizations
|
||||||
|
|
||||||
// 1GB array
|
// 1GB array
|
||||||
const size_t size = arr*1e9;
|
const size_t size = arr*1e6;
|
||||||
|
|
||||||
// single-thread
|
// single-thread
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user