index 4fa0fbba91072f2e485cb01e5e8022d027c42ec6..dbce8defc8c53722876bfb98a55c30f89e64c8c9 100644 (file)
char* pc_str,
char* sc_str,
unsigned int p_cur,
- double* perf,
+ perf_t* perf,
double* resid );
void libblis_test_dotaxpyv_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 + 2.0 * m ) / time_min / FLOPS_PER_UNIT_PERF;
- if ( bli_obj_is_complex( z ) ) *perf *= 4.0;
+ perf->gflops = ( 2.0 * m + 2.0 * m ) / time_min / FLOPS_PER_UNIT_PERF;
+ if ( bli_obj_is_complex( z ) ) perf->gflops *= 4.0;
+ perf->time = time_min;
// Perform checks.
libblis_test_dotaxpyv_check( &alpha, &xt, &x, &y, &rho, &z, &z_save, resid );