ExaGeoStat
ExaGeoStat is a parallel high performance unified framework for geostatistics on manycore systems.
dpotrf_diag.c File Reference
#include "../include/diag.h"

Go to the source code of this file.

Functions

int MORSE_dpotrf_diag (MORSE_enum uplo, int N, double *A, int LDA, int diag_thick)
 
int MORSE_dpotrf_diag_Tile (MORSE_enum uplo, MORSE_desc_t *A, int diag_thick)
 
int MORSE_dpotrf_diag_Tile_Async (MORSE_enum uplo, MORSE_desc_t *A, int diag_thick, MORSE_sequence_t *sequence, MORSE_request_t *request)
 

Function Documentation

int MORSE_dpotrf_diag ( MORSE_enum  uplo,
int  N,
double *  A,
int  LDA,
int  diag_thick 
)

MORSE_dpotrf - Computes the Cholesky factorization of a symmetric positive definite (or Symmetric positive definite in the real case) matrix A. The factorization has the form

\[ A = \{_{L\times L^H, if uplo = MorseLower}^{U^H\times U, if uplo = MorseUpper} \]

where U is an upper triangular matrix and L is a lower triangular matrix.

Parameters
[in]uplo= MorseUpper: Upper triangle of A is stored; = MorseLower: Lower triangle of A is stored.
[in]NThe order of the matrix A. N >= 0.
[in,out]AOn entry, the symmetric positive definite (or Symmetric) matrix A. If uplo = MorseUpper, the leading N-by-N upper triangular part of A contains the upper triangular part of the matrix A, and the strictly lower triangular part of A is not referenced. If UPLO = 'L', the leading N-by-N lower triangular part of A contains the lower triangular part of the matrix A, and the strictly upper triangular part of A is not referenced. On exit, if return value = 0, the factor U or L from the Cholesky factorization A = U**T*U or A = L*L**T.
[in]LDAThe leading dimension of the array A. LDA >= max(1,N).
Returns
Return values
MORSE_SUCCESSsuccessful exit
<0if -i, the i-th argument had an illegal value
>0if i, the leading minor of order i of A is not positive definite, so the factorization could not be completed, and the solution has not been computed.
See also
MORSE_dpotrf_Tile
MORSE_dpotrf_Tile_Async
MORSE_cpotrf
MORSE_dpotrf
MORSE_spotrf
MORSE_dpotrs

Definition at line 85 of file dpotrf_diag.c.

int MORSE_dpotrf_diag_Tile ( MORSE_enum  uplo,
MORSE_desc_t *  A,
int  diag_thick 
)

MORSE_dpotrf_Tile - Computes the Cholesky factorization of a symmetric positive definite or Symmetric positive definite matrix. Tile equivalent of MORSE_dpotrf(). Operates on matrices stored by tiles. All matrices are passed through descriptors. All dimensions are taken from the descriptors.

Parameters
[in]uplo= MorseUpper: Upper triangle of A is stored; = MorseLower: Lower triangle of A is stored.
[in]AOn entry, the symmetric positive definite (or Symmetric) matrix A. If uplo = MorseUpper, the leading N-by-N upper triangular part of A contains the upper triangular part of the matrix A, and the strictly lower triangular part of A is not referenced. If UPLO = 'L', the leading N-by-N lower triangular part of A contains the lower triangular part of the matrix A, and the strictly upper triangular part of A is not referenced. On exit, if return value = 0, the factor U or L from the Cholesky factorization A = U**T*U or A = L*L**T.
Returns
Return values
MORSE_SUCCESSsuccessful exit
>0if i, the leading minor of order i of A is not positive definite, so the factorization could not be completed, and the solution has not been computed.
See also
MORSE_dpotrf
MORSE_dpotrf_Tile_Async
MORSE_cpotrf_Tile
MORSE_dpotrf_Tile
MORSE_spotrf_Tile
MORSE_dpotrs_Tile

Definition at line 198 of file dpotrf_diag.c.

int MORSE_dpotrf_diag_Tile_Async ( MORSE_enum  uplo,
MORSE_desc_t *  A,
int  diag_thick,
MORSE_sequence_t *  sequence,
MORSE_request_t *  request 
)

MORSE_dpotrf_Tile_Async - Computes the Cholesky factorization of a symmetric positive definite or Symmetric positive definite matrix. Non-blocking equivalent of MORSE_dpotrf_Tile(). May return before the computation is finished. Allows for pipelining of operations at runtime.

Parameters
[in]sequenceIdentifies the sequence of function calls that this call belongs to (for completion checks and exception handling purposes).
[out]requestIdentifies this function call (for exception handling purposes).
See also
MORSE_dpotrf
MORSE_dpotrf_Tile
MORSE_cpotrf_Tile_Async
MORSE_dpotrf_Tile_Async
MORSE_spotrf_Tile_Async
MORSE_dpotrs_Tile_Async

Definition at line 250 of file dpotrf_diag.c.