|
int PLASMA_zgemm |
( |
PLASMA_enum |
transA, |
|
|
PLASMA_enum |
transB, |
|
|
int |
M, |
|
|
int |
N, |
|
|
int |
K, |
|
|
PLASMA_Complex64_t |
alpha, |
|
|
PLASMA_Complex64_t * |
A, |
|
|
int |
LDA, |
|
|
PLASMA_Complex64_t * |
B, |
|
|
int |
LDB, |
|
|
PLASMA_Complex64_t |
beta, |
|
|
PLASMA_Complex64_t * |
C, |
|
|
int |
LDC | |
|
) |
| | |
PLASMA_zgemm - Performs one of the matrix-matrix operations
,
where op( X ) is one of
op( X ) = X or op( X ) = X' or op( X ) = conjg( X' )
alpha and beta are scalars, and A, B and C are matrices, with op( A ) an m by k matrix, op( B ) a k by n matrix and C an m by n matrix.
- Parameters:
-
[in] | transA | Specifies whether the matrix A is transposed, not transposed or conjugate transposed: = PlasmaNoTrans: A is not transposed; = PlasmaTrans: A is transposed; = PlasmaConjTrans: A is conjugate transposed. |
[in] | transB | Specifies whether the matrix B is transposed, not transposed or conjugate transposed: = PlasmaNoTrans: B is not transposed; = PlasmaTrans: B is transposed; = PlasmaConjTrans: B is conjugate transposed. |
[in] | M | M specifies the number of rows of the matrix op( A ) and of the matrix C. M >= 0. |
[in] | N | N specifies the number of columns of the matrix op( B ) and of the matrix C. N >= 0. |
[in] | K | K specifies the number of columns of the matrix op( A ) and the number of rows of the matrix op( B ). K >= 0. |
[in] | alpha | alpha specifies the scalar alpha |
[in] | A | A is a LDA-by-ka matrix, where ka is K when transA = PlasmaNoTrans, and is M otherwise. |
[in] | LDA | The leading dimension of the array A. LDA >= max(1,M). |
[in] | B | B is a LDB-by-kb matrix, where kb is N when transB = PlasmaNoTrans, and is K otherwise. |
[in] | LDB | The leading dimension of the array B. LDB >= max(1,N). |
[in] | beta | beta specifies the scalar beta |
[in,out] | C | C is a LDC-by-N matrix. On exit, the array is overwritten by the M by N matrix ( alpha*op( A )*op( B ) + beta*C ) |
[in] | LDC | The leading dimension of the array C. LDC >= max(1,M). |
- Returns:
- Return values:
-
| PLASMA_SUCCESS | successful exit |
- See also:
- PLASMA_zgemm_Tile
-
PLASMA_cgemm
-
PLASMA_dgemm
-
PLASMA_sgemm
|