PLASMA  2.8.0
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
int PLASMA_sLapack_to_Tile ( float *  Af77,
int  LDA,
PLASMA_desc A 
)

PLASMA_sLapack_to_Tile - Conversion from LAPACK layout to tile layout. It automatically infers the layout translation mode base on the values of Af77 and A->mat pointers. If (A->mat == Af77 || A->mat == NULL || Af77 == NULL), PLASMA_TRANSLATION_MODE is set to PLASMA_INPLACE to do inplace layout translation of the matrix. If (A->mat != Af77 && A->mat != NULL && Af77 != NULL), PLASMA_TRANSLATION_MODE is set to PLASMA_OUTOFPLACE to do out of place layout translation of the matrix. Both A->mat and Af77 have to be allocated to store the full matrix.

Parameters
[in]Af77LAPACK matrix.
[in]LDAThe leading dimension of the matrix Af77.
[in,out]ADescriptor of the PLASMA matrix in tile layout.
Returns
Return values
PLASMA_SUCCESSsuccessful exit
See also
PLASMA_sLapack_to_Tile_Async
PLASMA_sTile_to_Lapack
PLASMA_cLapack_to_Tile
PLASMA_dLapack_to_Tile
PLASMA_sLapack_to_Tile