PaStiX Handbook  6.2.1
core_zgetrfsp.c File Reference
#include "common.h"
#include "cblas.h"
#include "blend/solver.h"
#include "pastix_zcores.h"
#include "kernels_trace.h"

Go to the source code of this file.

Functions

static void core_zgetf2sp (pastix_int_t m, pastix_int_t n, pastix_complex64_t *A, pastix_int_t lda, pastix_int_t *nbpivots, double criterion)
 Compute the sequential static pivoting LU factorization of the matrix m-by-n A = L * U. 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...
 
int cpucblk_zgetrfsp1d_getrf (SolverMatrix *solvmtx, SolverCblk *cblk, void *dataL, void *dataU)
 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...
 

Detailed Description

PaStiX kernel routines for LU factorization.

Version
6.0.3
Author
Mathieu Faverge
Pierre Ramet
Xavier Lacoste
Gregoire Pichon
Date
2019-12-19
Generated arithmetic file\n from /builds/solverstack/pastix/kernels/core_zgetrfsp.c, normal z -> z, Tue Apr 12 09:38:37 2022

Definition in file core_zgetrfsp.c.

Function Documentation

◆ core_zgetf2sp()

static void core_zgetf2sp ( pastix_int_t  m,
pastix_int_t  n,
pastix_complex64_t *  A,
pastix_int_t  lda,
pastix_int_t *  nbpivots,
double  criterion 
)
inlinestatic

Compute the sequential static pivoting LU factorization of the matrix m-by-n A = L * U.

Parameters
[in]mThe number of rows and columns of the matrix A.
[in]nThe number of rows and columns of the matrix A.
[in,out]AThe matrix A to factorize with LU factorization. The matrix is of size lda -by- n.
[in]ldaThe leading dimension of the matrix A.
[in,out]nbpivotsPointer to the number of piovting operations made during factorization. It is updated during this call
[in]criterionThreshold use for static pivoting. If diagonal value is under this threshold, its value is replaced by the threshold and the number of pivots is incremented.

Definition at line 65 of file core_zgetrfsp.c.

Referenced by core_zgetrfsp().