MAGMA  2.3.0 Matrix Algebra for GPU and Multicore Architectures

## 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 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_dcgs_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_didr_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 general real N-by-N matrix A. More...

magma_int_t magma_didr_strms (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 general real N-by-N matrix A. More...

magma_int_t magma_dpcg_merge (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 matrix A. More...

magma_int_t magma_dpidr_merge (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_dpidr_strms (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_dptfqmr (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_dqr (magma_int_t m, magma_int_t n, magma_d_matrix A, magma_int_t lda, magma_d_matrix *Q, magma_d_matrix *R, magma_queue_t queue)
This is a wrapper to call MAGMA QR on the data structure of sparse matrices. More...

## 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] A magma_d_matrix input matrix A [in] b magma_d_matrix RHS b - can be a block [in,out] x magma_d_matrix* solution approximation [in,out] solver_par magma_d_solver_par* solver parameters [in] precond_par magma_d_preconditioner* preconditioner [in] queue magma_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] A magma_d_matrix input matrix A [in] b magma_d_matrix RHS b [in,out] x magma_d_matrix* solution approximation [in,out] solver_par magma_d_solver_par* solver parameters [in] queue magma_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 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] A magma_d_matrix input matrix A [in] b magma_d_matrix RHS b [in,out] x magma_d_matrix* solution approximation [in,out] solver_par magma_d_solver_par* solver parameters [in] queue magma_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 preconditioned Conjugate Gradient method.

Parameters
 [in] A magma_d_matrix input matrix A [in] b magma_d_matrix RHS b [in,out] x magma_d_matrix* solution approximation [in,out] solver_par magma_d_solver_par* solver parameters [in] queue magma_queue_t Queue to execute in.
 magma_int_t magma_dcgs_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 Squared (CGS) method.

Parameters
 [in] A magma_d_matrix input matrix A [in] b magma_d_matrix RHS b [in,out] x magma_d_matrix* solution approximation [in,out] solver_par magma_d_solver_par* solver parameters [in] queue magma_queue_t Queue to execute in.
 magma_int_t magma_didr_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 general real N-by-N matrix A.

This is a GPU implementation of the Induced Dimension Reduction method applying kernel fusion.

Parameters
 [in] A magma_d_matrix input matrix A [in] b magma_d_matrix RHS b [in,out] x magma_d_matrix* solution approximation [in,out] solver_par magma_d_solver_par* solver parameters [in] queue magma_queue_t Queue to execute in.
 magma_int_t magma_didr_strms ( 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 general real N-by-N matrix A.

This is a GPU implementation of the Induced Dimension Reduction method applying kernel fusion and kernel overlap.

Parameters
 [in] A magma_d_matrix input matrix A [in] b magma_d_matrix RHS b [in,out] x magma_d_matrix* solution approximation [in,out] solver_par magma_d_solver_par* solver parameters [in] queue magma_queue_t Queue to execute in.
 magma_int_t magma_dpcg_merge ( 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 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] A magma_d_matrix input matrix A [in] b magma_d_matrix RHS b [in,out] x magma_d_matrix* solution approximation [in,out] solver_par magma_d_solver_par* solver parameters [in] precond_par magma_d_preconditioner* preconditioner [in] queue magma_queue_t Queue to execute in.
 magma_int_t magma_dpidr_merge ( 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 Induced Dimension Reduction method applying kernel fusion.

Parameters
 [in] A magma_d_matrix input matrix A [in] b magma_d_matrix RHS b [in,out] x magma_d_matrix* solution approximation [in,out] solver_par magma_d_solver_par* solver parameters [in] precond_par magma_d_preconditioner* preconditioner [in] queue magma_queue_t Queue to execute in.
 magma_int_t magma_dpidr_strms ( 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 Induced Dimension Reduction method applying kernel fusion and kernel overlap.

Parameters
 [in] A magma_d_matrix input matrix A [in] b magma_d_matrix RHS b [in,out] x magma_d_matrix* solution approximation [in,out] solver_par magma_d_solver_par* solver parameters [in] precond_par magma_d_preconditioner* preconditioner [in] queue magma_queue_t Queue to execute in.
 magma_int_t magma_dptfqmr ( 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 transpose-free Quasi-Minimal Residual method (TFQMR).

Parameters
 [in] A magma_d_matrix input matrix A [in] b magma_d_matrix RHS b [in,out] x magma_d_matrix* solution approximation [in,out] solver_par magma_d_solver_par* solver parameters [in,out] precond_par magma_d_preconditioner* preconditioner [in] queue magma_queue_t Queue to execute in.
 magma_int_t magma_dqr ( magma_int_t m, magma_int_t n, magma_d_matrix A, magma_int_t lda, magma_d_matrix * Q, magma_d_matrix * R, magma_queue_t queue )

This is a wrapper to call MAGMA QR on the data structure of sparse matrices.

Output matrices Q and R reside on the same memory location as matrix A. On exit, Q is a M-by-N matrix in lda-by-N space. On exit, R is a min(M,N)-by-N upper trapezoidal matrix.

Parameters
 [in] m magma_int_t dimension m [in] n magma_int_t dimension n [in] A magma_d_matrix input matrix A [in] lda magma_int_t leading dimension matrix A [in,out] Q magma_d_matrix* input matrix Q [in,out] R magma_d_matrix* input matrix R [in] queue magma_queue_t Queue to execute in.