Spaces:
Running
Running
bench : fix memcpy bench size
Browse files- whisper.cpp +1 -1
whisper.cpp
CHANGED
|
@@ -6073,7 +6073,7 @@ WHISPER_API const char * whisper_bench_memcpy_str(int n_threads) {
|
|
| 6073 |
size_t arr = n_threads > 0 ? 1024llu : n_threads; // trick to avoid compiler optimizations
|
| 6074 |
|
| 6075 |
// 1GB array
|
| 6076 |
-
const size_t size = arr*
|
| 6077 |
|
| 6078 |
// single-thread
|
| 6079 |
{
|
|
|
|
| 6073 |
size_t arr = n_threads > 0 ? 1024llu : n_threads; // trick to avoid compiler optimizations
|
| 6074 |
|
| 6075 |
// 1GB array
|
| 6076 |
+
const size_t size = arr*1e6;
|
| 6077 |
|
| 6078 |
// single-thread
|
| 6079 |
{
|