matrix fixed

This commit is contained in:
2025-04-12 11:37:07 +08:00
parent b92e49bd71
commit ba21f80f3b
24 changed files with 1840 additions and 569 deletions

View File

@@ -119,7 +119,7 @@ double fcyc(test_funct f, int *params)
if (clear_cache)
clear();
start_counter();
f(params);
f((long*)params);
cyc = get_counter();
if (cyc > 0.0)
add_sample(cyc);
@@ -131,7 +131,7 @@ double fcyc(test_funct f, int *params)
clear();
start_counter();
for (i=0;i<MAX_ITER_TIMES;i++)
f(params);
f((long*)params);
cyc = get_counter()/MAX_ITER_TIMES;
if (cyc > 0.0)
add_sample(cyc);