diff --git a/new-testing/testing_zgetrs.c b/new-testing/testing_zgetrs.c index 35270a12ae1f5e518f0e2b991d54aa518aa40697..ce9fa2bf3dd7bf8e87a7b48159347ac59bc4d769 100644 --- a/new-testing/testing_zgetrs.c +++ b/new-testing/testing_zgetrs.c @@ -58,7 +58,7 @@ testing_zgetrs( run_arg_list_t *args, int check ) /* Calculates the solution */ START_TIMING( t ); - hres = CHAMELEON_zgetrs_nopiv_Tile( descA, descX ); + hres += CHAMELEON_zgetrs_nopiv_Tile( descA, descX ); STOP_TIMING( t ); gflops = flops * 1.e-9 / t; run_arg_add_fixdbl( args, "time", t ); diff --git a/new-testing/testing_zpotri.c b/new-testing/testing_zpotri.c index 964db63029f00a48769eda812800b70721a48b4e..f4c269fd764ecff29438e77f6f600720c517d9cd 100644 --- a/new-testing/testing_zpotri.c +++ b/new-testing/testing_zpotri.c @@ -48,12 +48,14 @@ testing_zpotri( run_arg_list_t *args, int check ) /* Initialise the matrix with the random values */ CHAMELEON_zplghe_Tile( (double)N, uplo, descA, seedA ); - /* Calculates the inversed matrix */ - START_TIMING( t ); hres = CHAMELEON_zpotrf_Tile( uplo, descA ); assert( hres == 0 ); - hres = CHAMELEON_zpotri_Tile( uplo, descA ); + + /* Calculates the inversed matrix */ + START_TIMING( t ); + hres += CHAMELEON_zpotri_Tile( uplo, descA ); STOP_TIMING( t ); + gflops = flops * 1.e-9 / t; run_arg_add_fixdbl( args, "time", t ); run_arg_add_fixdbl( args, "gflops", gflops );