PLASMA
2.8.0
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
|
int PLASMA_dgemm | ( | PLASMA_enum | transA, |
PLASMA_enum | transB, | ||
int | M, | ||
int | N, | ||
int | K, | ||
double | alpha, | ||
double * | A, | ||
int | LDA, | ||
double * | B, | ||
int | LDB, | ||
double | beta, | ||
double * | C, | ||
int | LDC | ||
) |
PLASMA_dgemm - Performs one of the matrix-matrix operations
\[ C = \alpha [op( A )\times op( B )] + \beta C \]
,
where op( X ) is one of
op( X ) = X or op( X ) = X' or op( X ) = g( 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.
[in] | transA | Specifies whether the matrix A is transposed, not transposed or ugate transposed: = PlasmaNoTrans: A is not transposed; = PlasmaTrans: A is transposed; = PlasmaTrans: A is ugate transposed. |
[in] | transB | Specifies whether the matrix B is transposed, not transposed or ugate transposed: = PlasmaNoTrans: B is not transposed; = PlasmaTrans: B is transposed; = PlasmaTrans: B is ugate 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). |
PLASMA_SUCCESS | successful exit |