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

Functions

magma_int_t magma_dbpcg (magma_d_matrix A, magma_d_matrix b, magma_d_matrix *x, magma_d_solver_par *solver_par, magma_d_preconditioner *precond_par, magma_queue_t queue)
 Solves a system of linear equations A * X = B where A is a real symmetric N-by-N positive definite matrix A. More...
 
magma_int_t magma_dcg (magma_d_matrix A, magma_d_matrix b, magma_d_matrix *x, magma_d_solver_par *solver_par, magma_queue_t queue)
 Solves a system of linear equations A * X = B where A is a real symmetric N-by-N positive definite matrix A. More...
 
magma_int_t magma_dcg_merge (magma_d_matrix A, magma_d_matrix b, magma_d_matrix *x, magma_d_solver_par *solver_par, magma_queue_t queue)
 Solves a system of linear equations A * X = B where A is a real symmetric N-by-N positive definite matrix A. More...
 
magma_int_t magma_dcg_res (magma_d_matrix A, magma_d_matrix b, magma_d_matrix *x, magma_d_solver_par *solver_par, magma_queue_t queue)
 Solves a system of linear equations A * X = B where A is a real symmetric N-by-N positive definite matrix A. More...
 
magma_int_t magma_dpcg (magma_d_matrix A, magma_d_matrix b, magma_d_matrix *x, magma_d_solver_par *solver_par, magma_d_preconditioner *precond_par, magma_queue_t queue)
 Solves a system of linear equations A * X = B where A is a real symmetric N-by-N positive definite matrix A. More...
 

Detailed Description

Function Documentation

magma_int_t magma_dbpcg ( magma_d_matrix  A,
magma_d_matrix  b,
magma_d_matrix *  x,
magma_d_solver_par *  solver_par,
magma_d_preconditioner *  precond_par,
magma_queue_t  queue 
)

Solves a system of linear equations A * X = B where A is a real symmetric N-by-N positive definite matrix A.

This is a GPU implementation of the block preconditioned Conjugate Gradient method.

Parameters
[in]Amagma_d_matrix input matrix A
[in]bmagma_d_matrix RHS b - can be a block
[in,out]xmagma_d_matrix* solution approximation
[in,out]solver_parmagma_d_solver_par* solver parameters
[in]precond_parmagma_d_preconditioner* preconditioner
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_dcg ( magma_d_matrix  A,
magma_d_matrix  b,
magma_d_matrix *  x,
magma_d_solver_par *  solver_par,
magma_queue_t  queue 
)

Solves a system of linear equations A * X = B where A is a real symmetric N-by-N positive definite matrix A.

This is a GPU implementation of the Conjugate Gradient method.

Parameters
[in]Amagma_d_matrix input matrix A
[in]bmagma_d_matrix RHS b
[in,out]xmagma_d_matrix* solution approximation
[in,out]solver_parmagma_d_solver_par* solver parameters
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_dcg_merge ( magma_d_matrix  A,
magma_d_matrix  b,
magma_d_matrix *  x,
magma_d_solver_par *  solver_par,
magma_queue_t  queue 
)

Solves a system of linear equations A * X = B where A is a real symmetric N-by-N positive definite matrix A.

This is a GPU implementation of the Conjugate Gradient method in variant, where multiple operations are merged into one compute kernel.

Parameters
[in]Amagma_d_matrix input matrix A
[in]bmagma_d_matrix RHS b
[in,out]xmagma_d_matrix* solution approximation
[in,out]solver_parmagma_d_solver_par* solver parameters
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_dcg_res ( magma_d_matrix  A,
magma_d_matrix  b,
magma_d_matrix *  x,
magma_d_solver_par *  solver_par,
magma_queue_t  queue 
)

Solves a system of linear equations A * X = B where A is a real symmetric N-by-N positive definite matrix A.

This is a GPU implementation of the Conjugate Gradient method.

Parameters
[in]Amagma_d_matrix input matrix A
[in]bmagma_d_matrix RHS b
[in,out]xmagma_d_matrix* solution approximation
[in,out]solver_parmagma_d_solver_par* solver parameters
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_dpcg ( magma_d_matrix  A,
magma_d_matrix  b,
magma_d_matrix *  x,
magma_d_solver_par *  solver_par,
magma_d_preconditioner *  precond_par,
magma_queue_t  queue 
)

Solves a system of linear equations A * X = B where A is a real symmetric N-by-N positive definite matrix A.

This is a GPU implementation of the preconditioned Conjugate Gradient method.

Parameters
[in]Amagma_d_matrix input matrix A
[in]bmagma_d_matrix RHS b
[in,out]xmagma_d_matrix* solution approximation
[in,out]solver_parmagma_d_solver_par* solver parameters
[in]precond_parmagma_d_preconditioner* preconditioner
[in]queuemagma_queue_t Queue to execute in.