Skip to content

Commit 9762464

Browse files
authored
Fix CBLAS interface filling in the wrong triangle for Row-Major
1 parent 7ac5b90 commit 9762464

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interface/gemmt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,8 +319,8 @@ void CNAME(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
319319
lda = LDB;
320320
ldb = LDA;
321321

322-
if (Uplo == CblasUpper) uplo = 0;
323-
if (Uplo == CblasLower) uplo = 1;
322+
if (Uplo == CblasUpper) uplo = 1;
323+
if (Uplo == CblasLower) uplo = 0;
324324

325325
if (TransB == CblasNoTrans)
326326
transa = 0;

0 commit comments

Comments
 (0)