Skip to content

Commit 9c3e0bf

Browse files
authored
Merge pull request #3548 from martin-frbg/rela-gemmt
Enable the ?GEMMT functions in ReLAPACK
2 parents ab304cc + 4058f32 commit 9c3e0bf

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

relapack/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
#define INCLUDE_CTGSYL INCLUDE_XTGSYL
116116
#define INCLUDE_ZTGSYL INCLUDE_XTGSYL
117117

118-
#define INCLUDE_XGEMMT 0
118+
#define INCLUDE_XGEMMT 1
119119
#define INCLUDE_SGEMMT INCLUDE_XGEMMT
120120
#define INCLUDE_DGEMMT INCLUDE_XGEMMT
121121
#define INCLUDE_CGEMMT INCLUDE_XGEMMT

relapack/src/lapack_wrappers.c

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,8 @@ void LAPACK(sgemmt)(
566566
const float *B, const blasint *ldB,
567567
const float *beta, float *C, const blasint *ldC
568568
) {
569-
RELAPACK_sgemmt(uplo, n, A, ldA, info);
569+
blasint info;
570+
RELAPACK_sgemmt(uplo, transA, transB, n, k, alpha, A, ldA, B, ldB, beta, C, info);
570571
}
571572
#endif
572573

@@ -578,7 +579,8 @@ void LAPACK(dgemmt)(
578579
const double *B, const blasint *ldB,
579580
const double *beta, double *C, const blasint *ldC
580581
) {
581-
RELAPACK_dgemmt(uplo, n, A, ldA, info);
582+
blasint info;
583+
RELAPACK_dgemmt(uplo, transA, transB, n, k, alpha, A, ldA, B, ldB, beta, C, info);
582584
}
583585
#endif
584586

@@ -590,7 +592,8 @@ void LAPACK(cgemmt)(
590592
const float *B, const blasint *ldB,
591593
const float *beta, float *C, const blasint *ldC
592594
) {
593-
RELAPACK_cgemmt(uplo, n, A, ldA, info);
595+
blasint info;
596+
RELAPACK_cgemmt(uplo, transA, transB, n, k, alpha, A, ldA, B, ldB, beta, C, info);
594597
}
595598
#endif
596599

@@ -602,6 +605,7 @@ void LAPACK(zgemmt)(
602605
const double *B, const blasint *ldB,
603606
const double *beta, double *C, const blasint *ldC
604607
) {
605-
RELAPACK_zgemmt(uplo, n, A, ldA, info);
608+
blasint info;
609+
RELAPACK_zgemmt(uplo, transA, transB, n, k, alpha, A, ldA, B, ldB, beta, C, info);
606610
}
607611
#endif

0 commit comments

Comments
 (0)