PaStiX Handbook
6.3.0
|
Go to the source code of this file.
Functions | |
void | solve_blok_ztrsm (pastix_side_t side, pastix_uplo_t uplo, pastix_trans_t trans, pastix_diag_t diag, const SolverCblk *cblk, int nrhs, const void *dataA, pastix_complex64_t *b, int ldb) |
Apply a solve trsm update related to a diagonal block of the matrix A. More... | |
void | solve_blok_zgemm (pastix_side_t side, pastix_trans_t trans, pastix_int_t nrhs, const SolverCblk *cblk, const SolverBlok *blok, SolverCblk *fcbk, const void *dataA, const pastix_complex64_t *B, pastix_int_t ldb, pastix_complex64_t *C, pastix_int_t ldc) |
Apply a solve gemm update related to a single block of the matrix A. More... | |
void | solve_cblk_ztrsmsp_forward (const args_solve_t *enums, SolverMatrix *datacode, const SolverCblk *cblk, pastix_rhs_t b) |
Apply a forward solve related to one cblk to all the right hand side. More... | |
void | solve_cblk_ztrsmsp_backward (const args_solve_t *enums, SolverMatrix *datacode, SolverCblk *cblk, pastix_rhs_t b) |
Apply a backward solve related to one cblk to all the right hand side. More... | |
void | solve_cblk_zdiag (const SolverCblk *cblk, int nrhs, pastix_complex64_t *b, int ldb, pastix_complex64_t *work) |
Apply the diagonal solve related to one cblk to all the right hand side. More... | |
void | core_zsytrfsp1d_gemm (const SolverCblk *cblk, const SolverBlok *blok, SolverCblk *fcblk, const pastix_complex64_t *L, pastix_complex64_t *C, pastix_complex64_t *work) |
PastixComplex64 BLAS kernels | |
void | core_zplrnt (int m, int n, pastix_complex64_t *A, int lda, int gM, int m0, int n0, unsigned long long int seed) |
Generate a random tile. More... | |
void | core_zgetmo (int m, int n, const pastix_complex64_t *A, int lda, pastix_complex64_t *B, int ldb) |
Transposes a m-by-n matrix out of place using an extra workspace of size m-by-n. More... | |
int | core_zgeadd (pastix_trans_t trans, pastix_int_t M, pastix_int_t N, pastix_complex64_t alpha, const pastix_complex64_t *A, pastix_int_t LDA, pastix_complex64_t beta, pastix_complex64_t *B, pastix_int_t LDB) |
Add two matrices together. More... | |
int | core_zgemdm (pastix_trans_t transA, pastix_trans_t transB, int M, int N, int K, pastix_complex64_t alpha, const pastix_complex64_t *A, int LDA, const pastix_complex64_t *B, int LDB, pastix_complex64_t beta, pastix_complex64_t *C, int LDC, const pastix_complex64_t *D, int incD, pastix_complex64_t *WORK, int LWORK) |
Perform one of the following matrix-matrix operations. More... | |
int | core_zpqrcp (double tol, pastix_int_t maxrank, int full_update, pastix_int_t nb, pastix_int_t m, pastix_int_t n, pastix_complex64_t *A, pastix_int_t lda, pastix_int_t *jpvt, pastix_complex64_t *tau, pastix_complex64_t *work, pastix_int_t lwork, double *rwork) |
Compute a rank-reavealing QR factorization. More... | |
int | core_zrqrcp (double tol, pastix_int_t maxrank, int refine, pastix_int_t nb, pastix_int_t m, pastix_int_t n, pastix_complex64_t *A, pastix_int_t lda, pastix_int_t *jpvt, pastix_complex64_t *tau, pastix_complex64_t *work, pastix_int_t lwork, double *rwork) |
Compute a randomized QR factorization. More... | |
int | core_zrqrrt (double tol, pastix_int_t maxrank, pastix_int_t nb, pastix_int_t m, pastix_int_t n, pastix_complex64_t *A, pastix_int_t lda, pastix_complex64_t *tau, pastix_complex64_t *B, pastix_int_t ldb, pastix_complex64_t *tau_b, pastix_complex64_t *work, pastix_int_t lwork, double normA) |
Compute a randomized QR factorization with rotation technique. More... | |
int | core_ztqrcp (double tol, pastix_int_t maxrank, int unused, pastix_int_t nb, pastix_int_t m, pastix_int_t n, pastix_complex64_t *A, pastix_int_t lda, pastix_int_t *jpvt, pastix_complex64_t *tau, pastix_complex64_t *work, pastix_int_t lwork, double *rwork) |
Compute a randomized QR factorization with truncated updates. More... | |
int | core_ztradd (pastix_uplo_t uplo, pastix_trans_t trans, pastix_int_t M, pastix_int_t N, pastix_complex64_t alpha, const pastix_complex64_t *A, pastix_int_t LDA, pastix_complex64_t beta, pastix_complex64_t *B, pastix_int_t LDB) |
Add two triangular matrices together as in PBLAS pztradd. More... | |
int | core_zscalo (pastix_trans_t trans, pastix_int_t M, pastix_int_t N, const pastix_complex64_t *A, pastix_int_t lda, const pastix_complex64_t *D, pastix_int_t ldd, pastix_complex64_t *B, pastix_int_t ldb) |
Scale a matrix by a diagonal out of place. More... | |
PastixComplex64 Othogonalization kernels for low-rank updates | |
pastix_fixdbl_t | core_zlrorthu_fullqr (pastix_int_t M, pastix_int_t N, pastix_int_t rank, pastix_complex64_t *U, pastix_int_t ldu, pastix_complex64_t *V, pastix_int_t ldv) |
Try to orthognalize the u part of the low-rank form, and update the v part accordingly using full QR. More... | |
pastix_fixdbl_t | core_zlrorthu_partialqr (pastix_int_t M, pastix_int_t N, pastix_int_t r1, pastix_int_t *r2ptr, pastix_int_t offx, pastix_int_t offy, pastix_complex64_t *U, pastix_int_t ldu, pastix_complex64_t *V, pastix_int_t ldv) |
Try to orthognalize the U part of the low-rank form, and update the V part accordingly using partial QR. More... | |
pastix_fixdbl_t | core_zlrorthu_cgs (pastix_int_t M1, pastix_int_t N1, pastix_int_t M2, pastix_int_t N2, pastix_int_t r1, pastix_int_t *r2ptr, pastix_int_t offx, pastix_int_t offy, pastix_complex64_t *U, pastix_int_t ldu, pastix_complex64_t *V, pastix_int_t ldv) |
Try to orthognalize the U part of the low-rank form, and update the V part accordingly using CGS. More... | |
PastixComplex64 LAPACK kernels | |
void | core_zpotrfsp (pastix_int_t n, pastix_complex64_t *A, pastix_int_t lda, pastix_int_t *nbpivots, double criterion) |
Compute the block static pivoting Cholesky factorization of the matrix n-by-n A = L * L^t . More... | |
void | core_zpxtrfsp (pastix_int_t n, pastix_complex64_t *A, pastix_int_t lda, pastix_int_t *nbpivots, double criterion) |
Compute the block static pivoting LL^t factorization of the matrix n-by-n A = L * L^t . More... | |
void | core_zgetrfsp (pastix_int_t n, pastix_complex64_t *A, pastix_int_t lda, pastix_int_t *nbpivots, double criterion) |
Compute the block static pivoting LU factorization of the matrix m-by-n A = L * U. More... | |
void | core_zsytrfsp (pastix_int_t n, pastix_complex64_t *A, pastix_int_t lda, pastix_int_t *nbpivots, double criterion) |
Compute the block static pivoting factorization of the symmetric matrix n-by-n A such that A = L * D * L^t. More... | |
PastixComplex64 cblk-BLAS CPU kernels | |
int | cpucblk_zgeaddsp1d (const SolverCblk *cblk1, SolverCblk *cblk2, const pastix_complex64_t *L1, pastix_complex64_t *L2, const pastix_complex64_t *U1, pastix_complex64_t *U2) |
Add two column blocks together. More... | |
pastix_fixdbl_t | cpucblk_zgemmsp (pastix_coefside_t sideA, pastix_trans_t trans, const SolverCblk *cblk, const SolverBlok *blok, SolverCblk *fcblk, const void *A, const void *B, void *C, pastix_complex64_t *work, pastix_int_t lwork, const pastix_lr_t *lowrank) |
Compute the updates associated to one off-diagonal block. More... | |
void | cpucblk_ztrsmsp (pastix_side_t side, pastix_uplo_t uplo, pastix_trans_t trans, pastix_diag_t diag, const SolverCblk *cblk, const void *A, void *C, const pastix_lr_t *lowrank) |
Compute the updates associated to a column of off-diagonal blocks. More... | |
void | cpucblk_zscalo (pastix_trans_t trans, SolverCblk *cblk, void *dataL, void *dataLD) |
Copy the L term with scaling for the two-terms algorithm. More... | |
pastix_fixdbl_t | cpublok_zgemmsp (pastix_trans_t trans, const SolverCblk *cblk, SolverCblk *fcblk, pastix_int_t blok_mk, pastix_int_t blok_nk, pastix_int_t blok_mn, const void *A, const void *B, void *C, const pastix_lr_t *lowrank) |
Compute the CPU gemm associated to a couple of off-diagonal blocks. More... | |
pastix_fixdbl_t | cpublok_ztrsmsp (pastix_side_t side, pastix_uplo_t uplo, pastix_trans_t trans, pastix_diag_t diag, const SolverCblk *cblk, pastix_int_t blok_m, const void *A, void *C, const pastix_lr_t *lowrank) |
Compute the updates associated to one off-diagonal block. More... | |
void | cpublok_zscalo (pastix_trans_t trans, SolverCblk *cblk, pastix_int_t blok_m, const void *A, const void *dataD, void *dataB) |
Copy the lower terms of the block with scaling for the two-terms algorithm. More... | |
PastixComplex64 cblk LU kernels | |
int | cpucblk_zgetrfsp1d_getrf (SolverMatrix *solvmtx, SolverCblk *cblk, void *L, void *U) |
Compute the LU factorization of the diagonal block in a panel. More... | |
int | cpucblk_zgetrfsp1d_panel (SolverMatrix *solvmtx, SolverCblk *cblk, void *L, void *U) |
Compute the LU factorization of one panel. More... | |
int | cpucblk_zgetrfsp1d (SolverMatrix *solvmtx, SolverCblk *cblk, pastix_complex64_t *work, pastix_int_t lwork) |
Perform the LU factorization of a given panel and apply all its updates. More... | |
PastixComplex64 cblk Cholesky kernels | |
int | cpucblk_zpotrfsp1d_potrf (SolverMatrix *solvmtx, SolverCblk *cblk, void *dataL) |
Compute the Cholesky factorization of the diagonal block in a panel. More... | |
int | cpucblk_zpotrfsp1d_panel (SolverMatrix *solvmtx, SolverCblk *cblk, void *L) |
Compute the Cholesky factorization of one panel. More... | |
int | cpucblk_zpotrfsp1d (SolverMatrix *solvmtx, SolverCblk *cblk, pastix_complex64_t *work, pastix_int_t lwork) |
Perform the Cholesky factorization of a given panel and apply all its updates. More... | |
PastixComplex64 cblk LDL^t kernels | |
int | cpucblk_zsytrfsp1d_sytrf (SolverMatrix *solvmtx, SolverCblk *cblk, void *dataL) |
Computes the LDL^t factorization of the diagonal block in a panel. More... | |
int | cpucblk_zsytrfsp1d_panel (SolverMatrix *solvmtx, SolverCblk *cblk, void *L, void *DLt) |
Compute the LDL^t factorization of one panel. More... | |
int | cpucblk_zsytrfsp1d (SolverMatrix *solvmtx, SolverCblk *cblk, pastix_complex64_t *Dlt, pastix_complex64_t *work, pastix_int_t lwork) |
Perform the LDL^t factorization of a given panel and apply all its updates. More... | |
PastixComplex64 initialization and additionnal routines | |
void | cpucblk_zalloc_lrws (const SolverCblk *cblk, pastix_lrblock_t *lrblok, pastix_complex64_t *ws) |
Initialize lrblock structure from a workspace from all blocks of the cblk associated. More... | |
void | cpucblk_zalloc_lr (pastix_coefside_t side, SolverCblk *cblk, int rkmax) |
Allocate the cblk structure to store the coefficient. More... | |
void | cpucblk_zalloc_fr (pastix_coefside_t side, SolverCblk *cblk) |
Allocate the cblk structure to store the coefficient. More... | |
void | cpucblk_zalloc (pastix_coefside_t side, SolverCblk *cblk) |
Allocate the cblk structure to store the coefficient. More... | |
void | cpucblk_zfree (pastix_coefside_t side, SolverCblk *cblk) |
Free the cblk structure that store the coefficient. More... | |
void | cpucblk_zfillin (pastix_coefside_t side, const SolverMatrix *solvmtx, const pastix_bcsc_t *bcsc, pastix_int_t itercblk) |
Initialize the coeftab structure from the internal bcsc. More... | |
void | cpucblk_zinit (pastix_coefside_t side, const SolverMatrix *solvmtx, const pastix_bcsc_t *bcsc, pastix_int_t itercblk, const char *directory) |
Fully initialize a single cblk. More... | |
void | cpucblk_zgetschur (const SolverCblk *cblk, int upper_part, pastix_complex64_t *S, pastix_int_t lds) |
Extract a cblk panel of the Schur complement to a dense lapack form. More... | |
void | cpucblk_zdump (pastix_coefside_t side, const SolverCblk *cblk, FILE *stream) |
Dump a single column block into a FILE in a human readale format. More... | |
int | cpucblk_zdiff (pastix_coefside_t side, const SolverCblk *cblkA, SolverCblk *cblkB) |
Compare two column blocks in full-rank format. More... | |
void | cpucblk_zadd (pastix_coefside_t side, double alpha, const SolverCblk *cblkA, SolverCblk *cblkB, const pastix_lr_t *lowrank) |
Add two column bloks in full rank format. More... | |
PastixComplex64 MPI routines | |
int | cpucblk_zincoming_deps (int mt_flag, pastix_coefside_t side, SolverMatrix *solvmtx, SolverCblk *cblk) |
Wait for incoming dependencies, and return when cblk->ctrbcnt has reached 0. More... | |
void | cpucblk_zrelease_deps (pastix_coefside_t side, SolverMatrix *solvmtx, const SolverCblk *cblk, SolverCblk *fcbk) |
Release the dependencies of the given cblk after an update. More... | |
void | cpucblk_zrequest_cleanup (pastix_coefside_t side, pastix_int_t sched, SolverMatrix *solvmtx) |
Waitall routine for current cblk request. More... | |
void | cpucblk_zupdate_reqtab (SolverMatrix *solvmtx) |
void | cpucblk_zmpi_rhs_fwd_progress (const args_solve_t *enums, SolverMatrix *solvmtx, pastix_rhs_t rhsb, int threadid) |
void | cpucblk_zrelease_rhs_fwd_deps (const args_solve_t *enums, SolverMatrix *solvmtx, pastix_rhs_t rhsb, const SolverCblk *cblk, SolverCblk *fcbk) |
Release the dependencies of the given cblk after an update. More... | |
int | cpucblk_zincoming_rhs_fwd_deps (int rank, const args_solve_t *enums, SolverMatrix *solvmtx, SolverCblk *cblk, pastix_rhs_t rhsb) |
Wait for incoming dependencies, and return when cblk->ctrbcnt has reached 0. More... | |
void | cpucblk_zrequest_rhs_fwd_cleanup (const args_solve_t *enums, pastix_int_t sched, SolverMatrix *solvmtx, pastix_rhs_t rhsb) |
Waitall routine for current cblk request. More... | |
void | cpucblk_zmpi_rhs_bwd_progress (const args_solve_t *enums, SolverMatrix *solvmtx, pastix_rhs_t rhsb, int threadid) |
void | cpucblk_zrelease_rhs_bwd_deps (const args_solve_t *enums, SolverMatrix *solvmtx, pastix_rhs_t rhsb, const SolverCblk *cblk, SolverCblk *fcbk) |
Release the dependencies of the given cblk after an update. More... | |
int | cpucblk_zincoming_rhs_bwd_deps (int rank, const args_solve_t *enums, SolverMatrix *solvmtx, SolverCblk *cblk, pastix_rhs_t rhsb) |
Wait for incoming dependencies, and return when cblk->ctrbcnt has reached 0. More... | |
void | cpucblk_zrequest_rhs_bwd_cleanup (const args_solve_t *enums, pastix_int_t sched, SolverMatrix *solvmtx, pastix_rhs_t rhsb) |
Waitall routine for current cblk request. More... | |
void | cpucblk_zsend_rhs_forward (const SolverMatrix *solvmtx, SolverCblk *cblk, pastix_rhs_t b) |
Send the rhs associated to a cblk->lcolidx to the remote node. More... | |
void | cpucblk_zrecv_rhs_forward (const SolverMatrix *solvmtx, SolverCblk *cblk, pastix_complex64_t *work, pastix_rhs_t b) |
Receive the rhs associated to a cblk->lcolidx to the remote node. More... | |
void | cpucblk_zsend_rhs_backward (const SolverMatrix *solvmtx, SolverCblk *cblk, pastix_rhs_t b) |
Send the rhs associated to a cblk->lcolidx to the remote node. More... | |
void | cpucblk_zrecv_rhs_backward (const SolverMatrix *solvmtx, SolverCblk *cblk, pastix_rhs_t b) |
Receive the rhs associated to a cblk->lcolidx to the remote node. More... | |
PastixComplex64 compression/uncompression routines | |
pastix_fixdbl_t | cpublok_zcompress (const pastix_lr_t *lowrank, pastix_int_t M, pastix_int_t N, pastix_lrblock_t *blok) |
Compress a single block from full-rank to low-rank format. More... | |
pastix_int_t | cpucblk_zcompress (const SolverMatrix *solvmtx, pastix_coefside_t side, int max_ilulvl, SolverCblk *cblk) |
Compress a single column block from full-rank to low-rank format. More... | |
void | cpucblk_zuncompress (pastix_coefside_t side, SolverCblk *cblk) |
Uncompress a single column block from low-rank format to full-rank format. More... | |
void | cpucblk_zmemory (pastix_coefside_t side, const SolverMatrix *solvmtx, SolverCblk *cblk, pastix_int_t *orig, pastix_int_t *gain) |
Return the memory gain of the low-rank form over the full-rank form for a single column-block. More... | |
PaStiX kernel header.
Definition in file pastix_zcores.h.