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

Functions

magma_int_t magma_cbaiter (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 via the block asynchronous iteration method on GPU. More...
 
magma_int_t magma_cbcsrlu (magma_c_sparse_matrix A, magma_c_vector b, magma_c_vector *x, magma_c_solver_par *solver_par)
 LU decomposition and solution via triangular solves for a BCSR matrix A. More...
 
magma_int_t magma_cbcsrlutrf (magma_c_sparse_matrix A, magma_c_sparse_matrix *M, magma_int_t *ipiv, magma_int_t version)
 LU decomposition for a BCSR matrix A. More...
 
magma_int_t magma_cbcsrlusv (magma_c_sparse_matrix A, magma_c_vector b, magma_c_vector *x, magma_c_solver_par *solver_par, magma_int_t *ipiv)
 LU solve for a BCSR matrix A. More...
 
magma_int_t magma_cbicgstab (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_cbicgstab_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_cbicgstab_merge2 (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_cgmres (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 sparse matrix stored in the GPU memory. More...
 
magma_int_t magma_citerref (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...
 
magma_int_t magma_cjacobi (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_cpastixsetup (magma_c_sparse_matrix A, magma_c_vector b, magma_c_preconditioner *precond)
 Prepares the PASTIX solver. More...
 
magma_int_t magma_cpgmres (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 sparse matrix stored in the GPU memory. More...
 

Detailed Description

Function Documentation

magma_int_t magma_cbaiter ( 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 via the block asynchronous iteration method on GPU.

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_cbcsrlu ( magma_c_sparse_matrix  A,
magma_c_vector  b,
magma_c_vector *  x,
magma_c_solver_par *  solver_par 
)

LU decomposition and solution via triangular solves for a BCSR matrix A.

We assume all diagonal blocks to be nonzero.

Parameters
Amagma_c_sparse_matrix descriptor for matrix A
bmagma_c_vector RHS b vector
xmagma_c_vector* solution approximation
solver_parmagma_c_solver_par* solver parameters
magma_int_t magma_cbcsrlusv ( magma_c_sparse_matrix  A,
magma_c_vector  b,
magma_c_vector *  x,
magma_c_solver_par *  solver_par,
magma_int_t *  ipiv 
)

LU solve for a BCSR matrix A.

Parameters
Amagma_c_sparse_matrix input matrix A (on DEV)
bmagma_c_vector RHS (on DEV)
xmagma_c_vector solution (on DEV)
solver_parmagma_c_solver_par* solver parameters
ipivmagma_int_t* pivot vector
magma_int_t magma_cbcsrlutrf ( magma_c_sparse_matrix  A,
magma_c_sparse_matrix *  M,
magma_int_t *  ipiv,
magma_int_t  version 
)

LU decomposition for a BCSR matrix A.

We assume all diagonal blocks to be nonzero.

Parameters
Amagma_c_sparse_matrix input matrix A (on DEV)
mmagma_c_sparse_matrix* output matrix containing LU decomposition
ipivmagma_int_t* pivot vector
magma_int_t magma_cbicgstab ( 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 Biconjugate Gradient Stabelized 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_cbicgstab_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 Biconjugate Gradient Stabelized method. The difference to magma_cbicgstab is that we use specifically designed kernels merging multiple operations into one 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_cbicgstab_merge2 ( 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 Biconjugate Gradient Stabelized method. The difference to magma_cbicgstab is that we use specifically designed kernels merging multiple operations into one 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_cgmres ( 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 sparse matrix stored in the GPU memory.

X and B are complex vectors stored on the GPU memory. This is a GPU implementation of the right-preconditioned GMRES method.

Parameters
Amagma_c_sparse_matrix descriptor for matrix A
bmagma_c_vector RHS b vector
xmagma_c_vector* solution approximation
solver_parmagma_c_solver_par* solver parameters
magma_int_t magma_citerref ( 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 Iterative Refinement method. The inner solver is passed via the preconditioner argument.

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* inner solver
magma_int_t magma_cjacobi ( 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 Jacobi 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_cpastixsetup ( magma_c_sparse_matrix  A,
magma_c_vector  b,
magma_c_preconditioner *  precond 
)

Prepares the PASTIX solver.

Parameters
Amagma_c_sparse_matrix input matrix A
bmagma_c_vector RHS b
precondmagma_c_preconditioner* preconditioner parameter
magma_int_t magma_cpgmres ( 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 sparse matrix stored in the GPU memory.

X and B are complex vectors stored on the GPU memory. This is a GPU implementation of the right-preconditioned GMRES method.

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