index b8909944a34965ae19b1a4eb57b7131fc920becd..afa54dc1960edd0ef77299be2dcd29eb9a41078c 100644 (file)
char* pc_str,
char* sc_str,
unsigned int p_cur,
- double* perf,
+ perf_t* perf,
double* resid );
void libblis_test_addv_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 = ( 2.0 * m ) / time_min / FLOPS_PER_UNIT_PERF;
- if ( bli_obj_is_complex( x ) ) *perf *= 2.0;
-
+ perf->gflops = ( 2.0 * m ) / time_min / FLOPS_PER_UNIT_PERF;
+ if ( bli_obj_is_complex( x ) ) perf->gflops *= 2.0;
+ perf->time = time_min;
+
// Perform checks.
libblis_test_addv_check( &alpha, &beta, &x, &y, resid );