PLASMA  2.8.0
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
int CORE_sgetrf ( int  m,
int  n,
float *  A,
int  lda,
int *  IPIV,
int *  info 
)

CORE_sgetrf - Computes an LU factorization of a general M-by-N matrix A using the tile LU algorithm with partial tile pivoting with row interchanges.

Parameters
[in]mThe number of rows of the matrix A. m >= 0.
[in]nThe number of columns of the matrix A. n >= 0.
[in,out]AOn entry, the M-by-N matrix to be factored. On exit, the tile factors L and U from the factorization.
[in]ldaThe leading dimension of the array A. LDA >= max(1,M).
[out]IPIVThe pivot indices that define the permutations.
[out]info
  • 0 on successful exit
  • <0 if -i, the i-th argument had an illegal value
  • >0 if i, U(i,i) is exactly zero. The factorization has been completed, but the factor U is exactly singular, and division by zero will occur if it is used to solve a system of equations.
Returns
Return values
PLASMA_SUCCESSsuccessful exit