From 5040c5b66ed6bf0a713e54ff3d0569b827fada67 Mon Sep 17 00:00:00 2001 From: Alycia Lisito <alycia.lisito@inria.fr> Date: Wed, 9 Feb 2022 09:28:28 +0100 Subject: [PATCH] testing: add check for the std api in the gemm testing --- testing/testing_zcheck.h | 2 +- testing/testing_zgemm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/testing_zcheck.h b/testing/testing_zcheck.h index b2f69378e..11762a3d0 100644 --- a/testing/testing_zcheck.h +++ b/testing/testing_zcheck.h @@ -45,7 +45,7 @@ static inline int check_zsum ( run_arg_list_t *args, cham_uplo_t uplo, CHAMELEON_Complex64_t beta, CHAM_desc_t *descBref, CHAM_desc_t *descBcham ) { return 0; } static inline int check_zscale ( run_arg_list_t *args, cham_uplo_t uplo, CHAMELEON_Complex64_t alpha, CHAM_desc_t *descA1, CHAM_desc_t *descA2 ) { return 0; } static inline int check_zgemm_std ( run_arg_list_t *args, cham_trans_t transA, cham_trans_t transB, CHAMELEON_Complex64_t alpha, int M, int N, int K, CHAMELEON_Complex64_t *A, int LDA, - CHAMELEON_Complex64_t *B, int LDB, CHAMELEON_Complex64_t beta, CHAMELEON_Complex64_t *Cref, CHAMELEON_Complex64_t *C, int LDC ); + CHAMELEON_Complex64_t *B, int LDB, CHAMELEON_Complex64_t beta, CHAMELEON_Complex64_t *Cref, CHAMELEON_Complex64_t *C, int LDC ) { return 0; } static inline int check_zgemm ( run_arg_list_t *args, cham_trans_t transA, cham_trans_t transB, CHAMELEON_Complex64_t alpha, CHAM_desc_t *descA, CHAM_desc_t *descB, CHAMELEON_Complex64_t beta, CHAM_desc_t *descCref, CHAM_desc_t *descC ) { return 0; } static inline int check_zsymm ( run_arg_list_t *args, cham_mtxtype_t mtxtype, cham_side_t side, cham_uplo_t uplo, CHAMELEON_Complex64_t alpha, CHAM_desc_t *descA, CHAM_desc_t *descB, diff --git a/testing/testing_zgemm.c b/testing/testing_zgemm.c index a5279098a..6aa091001 100644 --- a/testing/testing_zgemm.c +++ b/testing/testing_zgemm.c @@ -201,7 +201,7 @@ testing_zgemm_std( run_arg_list_t *args, int check ) Cinit = malloc( LDC*N*sizeof(CHAMELEON_Complex64_t) ); CHAMELEON_zplrnt( M, N, Cinit, LDC, seedC ); - // hres += check_zgemm( args, transA, transB, alpha, descA, descB, beta, descCinit, descC ); + hres += check_zgemm_std( args, transA, transB, alpha, M, N, K, A, LDA, B, LDB, beta, Cinit, C, LDC ); free( Cinit ); } -- GitLab