From 9610ba58edab6ac2e3efe0e2e2d6151e6149f823 Mon Sep 17 00:00:00 2001
From: Mathieu Faverge <mathieu.faverge@inria.fr>
Date: Thu, 1 Sep 2022 17:32:47 +0200
Subject: [PATCH] zhemm: Fix ChamConjTrans instead of ChamTrans

---
 compute/pzhemm.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/compute/pzhemm.c b/compute/pzhemm.c
index 24f8bb2be..e468fff93 100644
--- a/compute/pzhemm.c
+++ b/compute/pzhemm.c
@@ -152,7 +152,7 @@ chameleon_pzhemm_Astat( CHAM_context_t *chamctxt, cham_side_t side, cham_uplo_t
                         else {
                             INSERT_TASK_zgemm_Astat(
                                 options,
-                                ChamTrans, ChamNoTrans,
+                                ChamConjTrans, ChamNoTrans,
                                 tempmm, tempnn, tempkm, A->mb,
                                 alpha, A(k, m),  /* ldak * X */
                                        B(k, n),  /* ldb  * Y */
@@ -170,7 +170,7 @@ chameleon_pzhemm_Astat( CHAM_context_t *chamctxt, cham_side_t side, cham_uplo_t
                         if (k < m) {
                             INSERT_TASK_zgemm_Astat(
                                 options,
-                                ChamTrans, ChamNoTrans,
+                                ChamConjTrans, ChamNoTrans,
                                 tempmm, tempnn, tempkm, A->mb,
                                 alpha, A(k, m),  /* ldak * X */
                                        B(k, n),  /* ldb  * Y */
@@ -208,7 +208,7 @@ chameleon_pzhemm_Astat( CHAM_context_t *chamctxt, cham_side_t side, cham_uplo_t
                         if (k < n) {
                             INSERT_TASK_zgemm_Astat(
                                 options,
-                                ChamNoTrans, ChamTrans,
+                                ChamNoTrans, ChamConjTrans,
                                 tempmm, tempnn, tempkn, A->mb,
                                 alpha, B(m, k),  /* ldb * K */
                                        A(n, k),  /* lda * K */
@@ -262,7 +262,7 @@ chameleon_pzhemm_Astat( CHAM_context_t *chamctxt, cham_side_t side, cham_uplo_t
                         else {
                             INSERT_TASK_zgemm_Astat(
                                 options,
-                                ChamNoTrans, ChamTrans,
+                                ChamNoTrans, ChamConjTrans,
                                 tempmm, tempnn, tempkn, A->mb,
                                 alpha, B(m, k),  /* ldb * K */
                                        A(n, k),  /* lda * K */
-- 
GitLab