MAGMA  1.5.0
Matrix Algebra for GPU and Multicore Architectures
 All Functions Groups
single-complex precision

Functions

magma_int_t magma_ccg (magma_c_sparse_matrix A, magma_c_vector b, magma_c_vector *x, magma_c_solver_par *solver_par)
 Solves a system of linear equations A * X = B where A is a complex Hermitian N-by-N positive definite matrix A. More...
 
magma_int_t magma_ccg_merge (magma_c_sparse_matrix A, magma_c_vector b, magma_c_vector *x, magma_c_solver_par *solver_par)
 Solves a system of linear equations A * X = B where A is a complex Hermitian N-by-N positive definite matrix A. More...
 
magma_int_t magma_ccg_res (magma_c_sparse_matrix A, magma_c_vector b, magma_c_vector *x, magma_c_solver_par *solver_par)
 Solves a system of linear equations A * X = B where A is a complex Hermitian N-by-N positive definite matrix A. More...
 
magma_int_t magma_cpcg (magma_c_sparse_matrix A, magma_c_vector b, magma_c_vector *x, magma_c_solver_par *solver_par, magma_c_preconditioner *precond_par)
 Solves a system of linear equations A * X = B where A is a complex Hermitian N-by-N positive definite matrix A. More...
 

Detailed Description

Function Documentation

magma_int_t magma_ccg ( magma_c_sparse_matrix  A,
magma_c_vector  b,
magma_c_vector *  x,
magma_c_solver_par *  solver_par 
)

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

This is a GPU implementation of the Conjugate Gradient method.

Parameters
Amagma_c_sparse_matrix input matrix A
bmagma_c_vector RHS b
xmagma_c_vector* solution approximation
solver_parmagma_c_solver_par* solver parameters
magma_int_t magma_ccg_merge ( magma_c_sparse_matrix  A,
magma_c_vector  b,
magma_c_vector *  x,
magma_c_solver_par *  solver_par 
)

Solves a system of linear equations A * X = B where A is a complex Hermitian 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_c_sparse_matrix input matrix A
bmagma_c_vector RHS b
xmagma_c_vector* solution approximation
solver_parmagma_c_solver_par* solver parameters
magma_int_t magma_ccg_res ( magma_c_sparse_matrix  A,
magma_c_vector  b,
magma_c_vector *  x,
magma_c_solver_par *  solver_par 
)

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

This is a GPU implementation of the Conjugate Gradient method.

Parameters
Amagma_c_sparse_matrix input matrix A
bmagma_c_vector RHS b
xmagma_c_vector* solution approximation
solver_parmagma_c_solver_par* solver parameters
magma_int_t magma_cpcg ( magma_c_sparse_matrix  A,
magma_c_vector  b,
magma_c_vector *  x,
magma_c_solver_par *  solver_par,
magma_c_preconditioner *  precond_par 
)

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

This is a GPU implementation of the Conjugate Gradient method.

Parameters
Amagma_c_sparse_matrix input matrix A
bmagma_c_vector RHS b
xmagma_c_vector* solution approximation
solver_parmagma_c_solver_par* solver parameters
precond_parmagma_c_preconditioner* preconditioner