MAGMA  2.3.0
Matrix Algebra for GPU and Multicore Architectures
 All Classes Files Functions Friends Groups Pages

Functions

magma_int_t magma_scumiccsetup (magma_s_matrix A, magma_s_preconditioner *precond, magma_queue_t queue)
 Prepares the IC preconditioner via cuSPARSE. More...
 
magma_int_t magma_scumicgeneratesolverinfo (magma_s_preconditioner *precond, magma_queue_t queue)
 Prepares the IC preconditioner solverinfo via cuSPARSE for a triangular matrix present on the device in precond->M. More...
 
magma_int_t magma_sapplycumicc_l (magma_s_matrix b, magma_s_matrix *x, magma_s_preconditioner *precond, magma_queue_t queue)
 Performs the left triangular solves using the ICC preconditioner. More...
 
magma_int_t magma_sapplycumicc_r (magma_s_matrix b, magma_s_matrix *x, magma_s_preconditioner *precond, magma_queue_t queue)
 Performs the right triangular solves using the ICC preconditioner. More...
 
magma_int_t magma_spariluupdate (magma_s_matrix A, magma_s_preconditioner *precond, magma_int_t updates, magma_queue_t queue)
 Updates an existing preconditioner via additional iterative ILU sweeps for previous factorization initial guess (PFIG). More...
 
magma_int_t magma_sparicsetup (magma_s_matrix A, magma_s_matrix b, magma_s_preconditioner *precond, magma_queue_t queue)
 Prepares the IC preconditioner via the iterative IC iteration. More...
 
magma_int_t magma_sparicupdate (magma_s_matrix A, magma_s_preconditioner *precond, magma_int_t updates, magma_queue_t queue)
 Updates an existing preconditioner via additional iterative IC sweeps for previous factorization initial guess (PFIG). More...
 

Detailed Description

Function Documentation

magma_int_t magma_scumiccsetup ( magma_s_matrix  A,
magma_s_preconditioner *  precond,
magma_queue_t  queue 
)

Prepares the IC preconditioner via cuSPARSE.

Parameters
[in]Amagma_s_matrix input matrix A
[in,out]precondmagma_s_preconditioner* preconditioner parameters
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_scumicgeneratesolverinfo ( magma_s_preconditioner *  precond,
magma_queue_t  queue 
)

Prepares the IC preconditioner solverinfo via cuSPARSE for a triangular matrix present on the device in precond->M.

Parameters
[in,out]precondmagma_s_preconditioner* preconditioner parameters
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_sapplycumicc_l ( magma_s_matrix  b,
magma_s_matrix *  x,
magma_s_preconditioner *  precond,
magma_queue_t  queue 
)

Performs the left triangular solves using the ICC preconditioner.

Parameters
[in]bmagma_s_matrix RHS
[in,out]xmagma_s_matrix* vector to precondition
[in,out]precondmagma_s_preconditioner* preconditioner parameters
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_sapplycumicc_r ( magma_s_matrix  b,
magma_s_matrix *  x,
magma_s_preconditioner *  precond,
magma_queue_t  queue 
)

Performs the right triangular solves using the ICC preconditioner.

Parameters
[in]bmagma_s_matrix RHS
[in,out]xmagma_s_matrix* vector to precondition
[in,out]precondmagma_s_preconditioner* preconditioner parameters
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_spariluupdate ( magma_s_matrix  A,
magma_s_preconditioner *  precond,
magma_int_t  updates,
magma_queue_t  queue 
)

Updates an existing preconditioner via additional iterative ILU sweeps for previous factorization initial guess (PFIG).

See Anzt et al., Parallel Computing, 2015.

Parameters
[in]Amagma_s_matrix input matrix A, current target system
[in]precondmagma_s_preconditioner* preconditioner parameters
[in]updatesmagma_int_t number of updates
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_sparicsetup ( magma_s_matrix  A,
magma_s_matrix  b,
magma_s_preconditioner *  precond,
magma_queue_t  queue 
)

Prepares the IC preconditioner via the iterative IC iteration.

Parameters
[in]Amagma_s_matrix input matrix A
[in]bmagma_s_matrix input RHS b
[in,out]precondmagma_s_preconditioner* preconditioner parameters
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_sparicupdate ( magma_s_matrix  A,
magma_s_preconditioner *  precond,
magma_int_t  updates,
magma_queue_t  queue 
)

Updates an existing preconditioner via additional iterative IC sweeps for previous factorization initial guess (PFIG).

See Anzt et al., Parallel Computing, 2015.

Parameters
[in]Amagma_s_matrix input matrix A, current target system
[in]precondmagma_s_preconditioner* preconditioner parameters
[in]updatesmagma_int_t number of updates
[in]queuemagma_queue_t Queue to execute in.