From d08626c0d0775da5c0ec36f7427cf7a0022f4cfe Mon Sep 17 00:00:00 2001 From: Mathieu Faverge <mathieu.faverge@inria.fr> Date: Mon, 18 Nov 2019 15:40:31 +0100 Subject: [PATCH] Fix remaining issue --- new-testing/testing_zgetrs.c | 2 +- new-testing/testing_zpotri.c | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/new-testing/testing_zgetrs.c b/new-testing/testing_zgetrs.c index 35270a12a..ce9fa2bf3 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 964db6302..f4c269fd7 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 ); -- GitLab