PaStiX Handbook  6.4.0
core_spotrfsp.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_spotf2sp (pastix_int_t n, float *A, pastix_int_t lda, pastix_int_t *nbpivots, float criterion)
 Compute the sequential static pivoting Cholesky factorization of the matrix n-by-n A = L * L^t . More...
 
int cpucblk_spotrfsp1d_potrf (SolverMatrix *solvmtx, SolverCblk *cblk, void *dataL)
 Compute the Cholesky factorization of the diagonal block in a panel. More...
 
int cpucblk_spotrfsp1d_panel (SolverMatrix *solvmtx, SolverCblk *cblk, void *L)
 Compute the Cholesky factorization of one panel. More...
 
int cpucblk_spotrfsp1d (SolverMatrix *solvmtx, SolverCblk *cblk, float *work, pastix_int_t lwork)
 Perform the Cholesky factorization of a given panel and apply all its updates. More...
 
int cpucblk_spotrfsp1dplus (SolverMatrix *solvmtx, SolverCblk *cblk)
 Perform the Cholesky factorization of a given panel and submit tasks for the subsequent updates. More...
 
void cpucblk_spotrfsp1dplus_update (SolverMatrix *solvmtx, SolverBlok *blok, float *work, pastix_int_t lwork)
 Apply the updates of the cholesky factorisation of a given panel. More...
 
PastixFloat LAPACK kernels
void core_spotrfsp (pastix_int_t n, float *A, pastix_int_t lda, pastix_int_t *nbpivots, float criterion)
 Compute the block static pivoting Cholesky factorization of the matrix n-by-n A = L * L^t . More...
 

Detailed Description

PaStiX kernel routines for Cholesky factorization.

Version
6.4.0
Author
Mathieu Faverge
Pierre Ramet
Xavier Lacoste
Gregoire Pichon
Nolan Bredel
Date
2024-07-05
Generated arithmetic file
from /builds/solverstack/pastix/kernels/core_zpotrfsp.c, normal z -> s, Tue Oct 8 14:17:22 2024

Definition in file core_spotrfsp.c.

Function Documentation

◆ core_spotf2sp()

static void core_spotf2sp ( pastix_int_t  n,
float *  A,
pastix_int_t  lda,
pastix_int_t nbpivots,
float  criterion 
)
inlinestatic

Compute the sequential static pivoting Cholesky factorization of the matrix n-by-n A = L * L^t .

Parameters
[in]nThe number of rows and columns of the matrix A.
[in,out]AThe matrix A to factorize with Cholesky 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.
Warning
This routine will fail if it discovers a null or negative value on the diagonal during factorization.

Definition at line 68 of file core_spotrfsp.c.

References pastix_int_t.

Referenced by core_spotrfsp().