PaStiX Handbook  6.3.2
core_sgetrfsp.c File Reference
#include "common.h"
#include "cblas.h"
#include "blend/solver.h"
#include "pastix_scores.h"
#include "kernels_trace.h"

Go to the source code of this file.

Functions

static void core_sgetf2sp (pastix_int_t m, pastix_int_t n, float *A, pastix_int_t lda, pastix_int_t *nbpivots, float criterion)
 Compute the sequential static pivoting LU factorization of the matrix m-by-n A = L * U. More...
 
void core_sgetrfsp (pastix_int_t n, float *A, pastix_int_t lda, pastix_int_t *nbpivots, float criterion)
 Compute the block static pivoting LU factorization of the matrix m-by-n A = L * U. More...
 
int cpucblk_sgetrfsp1d_getrf (SolverMatrix *solvmtx, SolverCblk *cblk, void *dataL, void *dataU)
 Compute the LU factorization of the diagonal block in a panel. More...
 
int cpucblk_sgetrfsp1d_panel (SolverMatrix *solvmtx, SolverCblk *cblk, void *L, void *U)
 Compute the LU factorization of one panel. More...
 
int cpucblk_sgetrfsp1d (SolverMatrix *solvmtx, SolverCblk *cblk, float *work, pastix_int_t lwork)
 Perform the LU factorization of a given panel and apply all its updates. More...
 
int cpucblk_sgetrfsp1dplus (SolverMatrix *solvmtx, SolverCblk *cblk)
 Perform the LU factorization of a given panel and submit tasks for the subsequent updates. More...
 
void cpucblk_sgetrfsp1dplus_update (SolverMatrix *solvmtx, SolverBlok *blok, float *work, pastix_int_t lwork)
 Apply the updates of the LU factorisation of a given panel. More...
 

Detailed Description

PaStiX kernel routines for LU factorization.

Version
6.3.2
Author
Mathieu Faverge
Pierre Ramet
Xavier Lacoste
Gregoire Pichon
Date
2023-12-11
Generated arithmetic file
from /builds/solverstack/pastix/kernels/core_zgetrfsp.c, normal z -> s, Wed Dec 13 12:09:15 2023

Definition in file core_sgetrfsp.c.

Function Documentation

◆ core_sgetf2sp()

static void core_sgetf2sp ( pastix_int_t  m,
pastix_int_t  n,
float *  A,
pastix_int_t  lda,
pastix_int_t nbpivots,
float  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_sgetrfsp.c.

References pastix_int_t.

Referenced by core_sgetrfsp().