index e85defc5302f441f7e1952cdc1245d3e2b4a5e16..6968708e32954c838ea4e50bdd1b285e981e1f70 100644 (file)
char* pc_str,
char* sc_str,
unsigned int p_cur,
- double* perf,
+ perf_t* perf,
double* resid );
void libblis_test_axpyf_impl( iface_t iface,
char* pc_str,
char* sc_str,
unsigned int p_cur,
- double* perf,
+ perf_t* perf,
double* resid )
{
unsigned int n_repeats = params->n_repeats;
}
// Estimate the performance of the best experiment repeat.
- *perf = ( 2.0 * m * b_n ) / time_min / FLOPS_PER_UNIT_PERF;
- if ( bli_obj_is_complex( y ) ) *perf *= 4.0;
+ perf->gflops = ( 2.0 * m * b_n ) / time_min / FLOPS_PER_UNIT_PERF;
+ if ( bli_obj_is_complex( y ) ) perf->gflops *= 4.0;
+ perf->time = time_min;
// Perform checks.
libblis_test_axpyf_check( &alpha, &a, &x, &y, &y_save, resid );