index 66a7bbd9617e06b13d5623183b5791212776966a..3a01242b715f15b1294a7f860365dd616792c24b 100644 (file)
char* pc_str,
char* sc_str,
unsigned int p_cur,
- double* perf,
+ perf_t* perf,
double* resid );
void libblis_test_copym_impl( iface_t iface,
char* pc_str,
char* sc_str,
unsigned int p_cur,
- double* perf,
+ perf_t* perf,
double* resid )
{
double time_min = 1e9;
}
// Estimate the performance of the best experiment repeat.
- *perf = ( 1.0 * m * n ) / time_min / FLOPS_PER_UNIT_PERF;
- if ( bli_obj_is_complex( x ) ) *perf *= 2.0;
+ perf->gflops = ( 1.0 * m * n ) / time_min / FLOPS_PER_UNIT_PERF;
+ if ( bli_obj_is_complex( x ) ) perf->gflops *= 2.0;
+ perf->time = time_min;
// Perform checks.
libblis_test_copym_check( &x, &y, resid );