index 0fac9b9f7812cd6b94c1dcf8ada464e13e4d85d3..f6b7ea9b2c29233e940f48a50ee85fa6f4d6c283 100644 (file)
char* pc_str,
char* sc_str,
unsigned int p_cur,
- double* perf,
+ perf_t* perf,
double* resid );
void libblis_test_dotv_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;
}
#ifdef BLIS_ENABLE_MULTITHREAD_TEST
// Estimate the performance of the best experiment repeat.
- *perf = ( 2.0 * m ) *test_way / time_min / FLOPS_PER_UNIT_PERF;
- if ( bli_obj_is_complex( y ) ) *perf *= 4.0;
+ perf->gflops = ( 2.0 * m ) *test_way / time_min / FLOPS_PER_UNIT_PERF;
+ if ( bli_obj_is_complex( y ) ) perf->gflops *= 4.0;
#else
// Estimate the performance of the best experiment repeat.
- *perf = ( 2.0 * m ) / time_min / FLOPS_PER_UNIT_PERF;
- if ( bli_obj_is_complex( y ) ) *perf *= 4.0;
+ perf->gflops = ( 2.0 * m ) / time_min / FLOPS_PER_UNIT_PERF;
+ if ( bli_obj_is_complex( y ) ) perf->gflops *= 4.0;
#endif
+ perf->time = time_min;
#ifdef BLIS_ENABLE_MULTITHREAD_TEST
// Check output of each thread, and send max residue to main