PLASMA 2.8.0 PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures

- Main Page
- Modules
- Data Types List

void CORE_zgemm | ( | PLASMA_enum | transA,
|  | int | transB,
|  | int | M,
|  | int | N,
|  | int | K,
|  | PLASMA_Complex64_t | alpha,
|  | const PLASMA_Complex64_t * | A,
|  | int | LDA,
|  | const PLASMA_Complex64_t * | B,
|  | int | LDB,
|  | PLASMA_Complex64_t | beta,
|  | PLASMA_Complex64_t * | C,
|  | int | LDC
| ) |  |

CORE_zgemm - 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 ) = 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).