PLASMA
Parallel Linear Algebra Software for Multicore Architectures
_lag2_: Converts general matrix between single and double

Functions

int plasma_clag2z (int m, int n, plasma_complex32_t *pAs, int ldas, plasma_complex64_t *pA, int lda)
 
void plasma_omp_clag2z (plasma_desc_t As, plasma_desc_t A, plasma_sequence_t *sequence, plasma_request_t *request)
 
int plasma_dlag2s (int m, int n, double *pA, int lda, float *pAs, int ldas)
 
void plasma_omp_dlag2s (plasma_desc_t A, plasma_desc_t As, plasma_sequence_t *sequence, plasma_request_t *request)
 
int plasma_slag2d (int m, int n, float *pAs, int ldas, double *pA, int lda)
 
void plasma_omp_slag2d (plasma_desc_t As, plasma_desc_t A, plasma_sequence_t *sequence, plasma_request_t *request)
 
int plasma_zlag2c (int m, int n, plasma_complex64_t *pA, int lda, plasma_complex32_t *pAs, int ldas)
 
void plasma_omp_zlag2c (plasma_desc_t A, plasma_desc_t As, plasma_sequence_t *sequence, plasma_request_t *request)
 

Detailed Description

Function Documentation

int plasma_clag2z ( int  m,
int  n,
plasma_complex32_t *  pAs,
int  ldas,
plasma_complex64_t *  pA,
int  lda 
)

Converts m-by-n matrix As from complex single to complex double precision.

Parameters
[in]mThe number of rows of the matrix As. m >= 0.
[in]nThe number of columns of the matrix As. n >= 0.
[in]pAsThe ldas-by-n matrix As in single complex precision.
[in]ldasThe leading dimension of the array As. ldas >= max(1,m).
[out]pAOn exit, the lda-by-n matrix A in double complex precision.
[in]ldaThe leading dimension of the array A. lda >= max(1,m).
Return values
PlasmaSuccesssuccessful exit
See also
plasma_omp_clag2z
plasma_zlag2c
plasma_dlag2s
plasma_slag2d
void plasma_omp_clag2z ( plasma_desc_t  As,
plasma_desc_t  A,
plasma_sequence_t *  sequence,
plasma_request_t *  request 
)

Converts m-by-n matrix A from single complex to double complex precision. Non-blocking tile version of plasma_clag2z(). May return before the computation is finished. Operates on matrices stored by tiles. All matrices are passed through descriptors. All dimensions are taken from the descriptors. Allows for pipelining of operations at runtime.

Parameters
[in]AsDescriptor of matrix As.
[out]ADescriptor of matrix A.
[in]sequenceIdentifies the sequence of function calls that this call belongs to (for completion checks and exception handling purposes). Check the sequence->status for errors.
[out]requestIdentifies this function call (for exception handling purposes).
Return values
voidErrors are returned by setting sequence->status and request->status to error values. The sequence->status and request->status should never be set to PlasmaSuccess (the initial values) since another async call may be setting a failure value at the same time.
See also
plasma_clag2z
plasma_omp_zlag2c
plasma_omp_dlag2s
plasma_omp_slag2d
int plasma_dlag2s ( int  m,
int  n,
double *  pA,
int  lda,
float *  pAs,
int  ldas 
)

Converts m-by-n matrix A from complex double to complex single precision.

Parameters
[in]mThe number of rows of the matrix A. m >= 0.
[in]nThe number of columns of the matrix A. n >= 0.
[in]pAThe lda-by-n matrix A in double complex precision.
[in]ldaThe leading dimension of the array A. lda >= max(1,m).
[out]pAsOn exit, the ldas-by-n matrix As in single complex precision.
[in]ldasThe leading dimension of the array As. ldas >= max(1,m).
Return values
PlasmaSuccesssuccessful exit
See also
plasma_omp_dlag2s
plasma_slag2d
plasma_dlag2s
plasma_slag2d
void plasma_omp_dlag2s ( plasma_desc_t  A,
plasma_desc_t  As,
plasma_sequence_t *  sequence,
plasma_request_t *  request 
)

Converts m-by-n matrix A from double complex to single complex precision. Non-blocking tile version of plasma_dlag2s(). May return before the computation is finished. Operates on matrices stored by tiles. All matrices are passed through descriptors. All dimensions are taken from the descriptors. Allows for pipelining of operations at runtime.

Parameters
[in]ADescriptor of matrix A.
[out]AsDescriptor of matrix As.
[in]sequenceIdentifies the sequence of function calls that this call belongs to (for completion checks and exception handling purposes). Check the sequence->status for errors.
[out]requestIdentifies this function call (for exception handling purposes).
Return values
voidErrors are returned by setting sequence->status and request->status to error values. The sequence->status and request->status should never be set to PlasmaSuccess (the initial values) since another async call may be setting a failure value at the same time.
See also
plasma_dlag2s
plasma_omp_slag2d
plasma_omp_dlag2s
plasma_omp_slag2d
int plasma_slag2d ( int  m,
int  n,
float *  pAs,
int  ldas,
double *  pA,
int  lda 
)

Converts m-by-n matrix As from complex single to complex double precision.

Parameters
[in]mThe number of rows of the matrix As. m >= 0.
[in]nThe number of columns of the matrix As. n >= 0.
[in]pAsThe ldas-by-n matrix As in single complex precision.
[in]ldasThe leading dimension of the array As. ldas >= max(1,m).
[out]pAOn exit, the lda-by-n matrix A in double complex precision.
[in]ldaThe leading dimension of the array A. lda >= max(1,m).
Return values
PlasmaSuccesssuccessful exit
See also
plasma_omp_slag2d
plasma_dlag2s
plasma_dlag2s
plasma_slag2d
void plasma_omp_slag2d ( plasma_desc_t  As,
plasma_desc_t  A,
plasma_sequence_t *  sequence,
plasma_request_t *  request 
)

Converts m-by-n matrix A from single complex to double complex precision. Non-blocking tile version of plasma_slag2d(). May return before the computation is finished. Operates on matrices stored by tiles. All matrices are passed through descriptors. All dimensions are taken from the descriptors. Allows for pipelining of operations at runtime.

Parameters
[in]AsDescriptor of matrix As.
[out]ADescriptor of matrix A.
[in]sequenceIdentifies the sequence of function calls that this call belongs to (for completion checks and exception handling purposes). Check the sequence->status for errors.
[out]requestIdentifies this function call (for exception handling purposes).
Return values
voidErrors are returned by setting sequence->status and request->status to error values. The sequence->status and request->status should never be set to PlasmaSuccess (the initial values) since another async call may be setting a failure value at the same time.
See also
plasma_slag2d
plasma_omp_dlag2s
plasma_omp_dlag2s
plasma_omp_slag2d
int plasma_zlag2c ( int  m,
int  n,
plasma_complex64_t *  pA,
int  lda,
plasma_complex32_t *  pAs,
int  ldas 
)

Converts m-by-n matrix A from complex double to complex single precision.

Parameters
[in]mThe number of rows of the matrix A. m >= 0.
[in]nThe number of columns of the matrix A. n >= 0.
[in]pAThe lda-by-n matrix A in double complex precision.
[in]ldaThe leading dimension of the array A. lda >= max(1,m).
[out]pAsOn exit, the ldas-by-n matrix As in single complex precision.
[in]ldasThe leading dimension of the array As. ldas >= max(1,m).
Return values
PlasmaSuccesssuccessful exit
See also
plasma_omp_zlag2c
plasma_clag2z
plasma_dlag2s
plasma_slag2d
void plasma_omp_zlag2c ( plasma_desc_t  A,
plasma_desc_t  As,
plasma_sequence_t *  sequence,
plasma_request_t *  request 
)

Converts m-by-n matrix A from double complex to single complex precision. Non-blocking tile version of plasma_zlag2c(). May return before the computation is finished. Operates on matrices stored by tiles. All matrices are passed through descriptors. All dimensions are taken from the descriptors. Allows for pipelining of operations at runtime.

Parameters
[in]ADescriptor of matrix A.
[out]AsDescriptor of matrix As.
[in]sequenceIdentifies the sequence of function calls that this call belongs to (for completion checks and exception handling purposes). Check the sequence->status for errors.
[out]requestIdentifies this function call (for exception handling purposes).
Return values
voidErrors are returned by setting sequence->status and request->status to error values. The sequence->status and request->status should never be set to PlasmaSuccess (the initial values) since another async call may be setting a failure value at the same time.
See also
plasma_zlag2c
plasma_omp_clag2z
plasma_omp_dlag2s
plasma_omp_slag2d