CHAMELEON 1.4.0
Loading...
Searching...
No Matches

◆ CHAMELEON_Lap2Desc()

int CHAMELEON_Lap2Desc ( cham_uplo_t  uplo,
void *  A,
int  LDA,
CHAM_desc_t *  descA 
)

Conversion from LAPACK layout to CHAM_desc_t.

Parameters
[in]uploSpecifies the shape of the matrix A: = ChamUpper: A is upper triangular, the lower part is not referenced; = ChamLower: A is lower triangular, the upper part is not referenced; = ChamUpperLower: A is general.
[in]ALAPACK matrix.
[in]LDAThe leading dimension of the matrix A.
[in,out]descADescriptor of the CHAMELEON matrix initialized with data from A.
Return values
CHAMELEON_SUCCESSsuccessful exit

Definition at line 117 of file tile.c.

References CHAMELEON_zLap2Desc().

Referenced by CHAMELEON_Lapack_to_Tile().