index 316e8edadb91d502835400f09bd254cb5f108fb5..6a71f37b840efcd8495e045611be2ef474984e3c 100644 (file)
char* pc_str,
char* sc_str,
unsigned int p_cur,
- double* perf,
+ perf_t* perf,
double* resid );
void libblis_test_setm_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 = ( 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_setm_check( &beta, &x, resid );