]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - dense-linear-algebra-libraries/linalg.git/blobdiff - blis/testsuite/src/test_copym.c
LINALG 1.2.0 iteration 1.
[dense-linear-algebra-libraries/linalg.git] / blis / testsuite / src / test_copym.c
index 66a7bbd9617e06b13d5623183b5791212776966a..3a01242b715f15b1294a7f860365dd616792c24b 100644 (file)
@@ -56,7 +56,7 @@ void libblis_test_copym_experiment( test_params_t* params,
                                     char*          pc_str,
                                     char*          sc_str,
                                     unsigned int   p_cur,
-                                    double*        perf,
+                                    perf_t*        perf,
                                     double*        resid );
 
 void libblis_test_copym_impl( iface_t   iface,
@@ -114,7 +114,7 @@ void libblis_test_copym_experiment( test_params_t* params,
                                     char*          pc_str,
                                     char*          sc_str,
                                     unsigned int   p_cur,
-                                    double*        perf,
+                                    perf_t*        perf,
                                     double*        resid )
 {
        double       time_min  = 1e9;
@@ -158,8 +158,9 @@ void libblis_test_copym_experiment( test_params_t* params,
        }
 
        // 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_copym_check( &x, &y, resid );