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

Functions

magma_int_t magma_zcg (magma_z_sparse_matrix A, magma_z_vector b, magma_z_vector *x, magma_z_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_zcg_merge (magma_z_sparse_matrix A, magma_z_vector b, magma_z_vector *x, magma_z_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_zcg_res (magma_z_sparse_matrix A, magma_z_vector b, magma_z_vector *x, magma_z_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_zpcg (magma_z_sparse_matrix A, magma_z_vector b, magma_z_vector *x, magma_z_solver_par *solver_par, magma_z_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_zcg ( magma_z_sparse_matrix  A,
magma_z_vector  b,
magma_z_vector *  x,
magma_z_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_z_sparse_matrix input matrix A
bmagma_z_vector RHS b
xmagma_z_vector* solution approximation
solver_parmagma_z_solver_par* solver parameters
magma_int_t magma_zcg_merge ( magma_z_sparse_matrix  A,
magma_z_vector  b,
magma_z_vector *  x,
magma_z_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_z_sparse_matrix input matrix A
bmagma_z_vector RHS b
xmagma_z_vector* solution approximation
solver_parmagma_z_solver_par* solver parameters
magma_int_t magma_zcg_res ( magma_z_sparse_matrix  A,
magma_z_vector  b,
magma_z_vector *  x,
magma_z_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_z_sparse_matrix input matrix A
bmagma_z_vector RHS b
xmagma_z_vector* solution approximation
solver_parmagma_z_solver_par* solver parameters
magma_int_t magma_zpcg ( magma_z_sparse_matrix  A,
magma_z_vector  b,
magma_z_vector *  x,
magma_z_solver_par *  solver_par,
magma_z_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_z_sparse_matrix input matrix A
bmagma_z_vector RHS b
xmagma_z_vector* solution approximation
solver_parmagma_z_solver_par* solver parameters
precond_parmagma_z_preconditioner* preconditioner