PaStiX Handbook  6.2.1
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...
 
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...
 
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...
 

Detailed Description

PaStiX kernel routines for Cholesky factorization.

Version
6.2.1
Author
Mathieu Faverge
Pierre Ramet
Xavier Lacoste
Gregoire Pichon
Nolan Bredel
Date
2021-06-16
Generated arithmetic file\n from /builds/solverstack/pastix/kernels/core_zpotrfsp.c, normal z -> s, Tue Apr 12 09:38:36 2022

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.

Referenced by core_spotrfsp().