PLASMA  2.8.0
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
int PLASMA_Desc_Create ( PLASMA_desc **  desc,
void *  mat,
PLASMA_enum  dtyp,
int  mb,
int  nb,
int  bsiz,
int  lm,
int  ln,
int  i,
int  j,
int  m,
int  n 
)

PLASMA_Desc_Create - Create matrix descriptor.

Parameters
[out]descOn exit, descriptor of the matrix.
[in]matMemory location of the matrix.
[in]dtypData type of the matrix:
  • PlasmaRealFloat: single precision real (S),
  • PlasmaRealDouble: double precision real (D),
  • PlasmaComplexFloat: single precision complex (C),
  • PlasmaComplexDouble: double precision complex (Z).
[in]mbNumber of rows in a tile.
[in]nbNumber of columns in a tile.
[in]bsizSize in elements (mb*nb).
[in]lmNumber of rows of the entire matrix.
[in]lnNumber of columns of the entire matrix.
[in]iRow index to the beginning of the submatrix.
[in]jColumn index to the beginning of the submatrix.
[in]mNumber of rows of the submatrix.
[in]nNumber of columns of the submatrix.
Returns
Return values
PLASMA_SUCCESSsuccessful exit