MAGMA  1.5.0
Matrix Algebra for GPU and Multicore Architectures
 All Functions Groups
double precision

Functions

magma_int_t magma_dcg (magma_d_sparse_matrix A, magma_d_vector b, magma_d_vector *x, magma_d_solver_par *solver_par)
 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_sparse_matrix A, magma_d_vector b, magma_d_vector *x, magma_d_solver_par *solver_par)
 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_sparse_matrix A, magma_d_vector b, magma_d_vector *x, magma_d_solver_par *solver_par)
 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_sparse_matrix A, magma_d_vector b, magma_d_vector *x, magma_d_solver_par *solver_par, magma_d_preconditioner *precond_par)
 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_dcg ( magma_d_sparse_matrix  A,
magma_d_vector  b,
magma_d_vector *  x,
magma_d_solver_par *  solver_par 
)

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
Amagma_d_sparse_matrix input matrix A
bmagma_d_vector RHS b
xmagma_d_vector* solution approximation
solver_parmagma_d_solver_par* solver parameters
magma_int_t magma_dcg_merge ( magma_d_sparse_matrix  A,
magma_d_vector  b,
magma_d_vector *  x,
magma_d_solver_par *  solver_par 
)

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
Amagma_d_sparse_matrix input matrix A
bmagma_d_vector RHS b
xmagma_d_vector* solution approximation
solver_parmagma_d_solver_par* solver parameters
magma_int_t magma_dcg_res ( magma_d_sparse_matrix  A,
magma_d_vector  b,
magma_d_vector *  x,
magma_d_solver_par *  solver_par 
)

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
Amagma_d_sparse_matrix input matrix A
bmagma_d_vector RHS b
xmagma_d_vector* solution approximation
solver_parmagma_d_solver_par* solver parameters
magma_int_t magma_dpcg ( magma_d_sparse_matrix  A,
magma_d_vector  b,
magma_d_vector *  x,
magma_d_solver_par *  solver_par,
magma_d_preconditioner *  precond_par 
)

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
Amagma_d_sparse_matrix input matrix A
bmagma_d_vector RHS b
xmagma_d_vector* solution approximation
solver_parmagma_d_solver_par* solver parameters
precond_parmagma_d_preconditioner* preconditioner