MAGMA  1.6.1
Matrix Algebra for GPU and Multicore Architectures
 All Classes Files Functions Friends Groups Pages
double precision

Functions

magma_int_t magma_dbaiter (magma_d_sparse_matrix A, magma_d_vector b, magma_d_vector *x, magma_d_solver_par *solver_par, magma_queue_t queue)
 Solves a system of linear equations A * x = b via the block asynchronous iteration method on GPU. More...
 
magma_int_t magma_dbicgstab (magma_d_sparse_matrix A, magma_d_vector b, magma_d_vector *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_dbicgstab_merge (magma_d_sparse_matrix A, magma_d_vector b, magma_d_vector *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_dbicgstab_merge2 (magma_d_sparse_matrix A, magma_d_vector b, magma_d_vector *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_dfgmres (magma_d_sparse_matrix A, magma_d_vector b, magma_d_vector *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 sparse matrix stored in the GPU memory. More...
 
magma_int_t magma_dgmres (magma_d_sparse_matrix A, magma_d_vector b, magma_d_vector *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 sparse matrix stored in the GPU memory. More...
 
magma_int_t magma_diterref (magma_d_sparse_matrix A, magma_d_vector b, magma_d_vector *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_djacobi (magma_d_sparse_matrix A, magma_d_vector b, magma_d_vector *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_dpastixsetup (magma_d_sparse_matrix A, magma_d_vector b, magma_d_preconditioner *precond, magma_queue_t queue)
 Prepares the PASTIX solver. More...
 
magma_int_t magma_dpgmres (magma_d_sparse_matrix A, magma_d_vector b, magma_d_vector *x, magma_d_solver_par *solver_par, magma_d_preconditioner *precond_par, magma_queue_t queue)
 ma Solves a system of linear equations A * X = B where A is a real sparse matrix stored in the GPU memory. More...
 

Detailed Description

Function Documentation

magma_int_t magma_dbaiter ( magma_d_sparse_matrix  A,
magma_d_vector  b,
magma_d_vector *  x,
magma_d_solver_par *  solver_par,
magma_queue_t  queue 
)

Solves a system of linear equations A * x = b via the block asynchronous iteration method on GPU.

Parameters
[in]Amagma_d_sparse_matrix input matrix A
[in]bmagma_d_vector RHS b
[in,out]xmagma_d_vector* solution approximation
[in,out]solver_parmagma_d_solver_par* solver parameters
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_dbicgstab ( magma_d_sparse_matrix  A,
magma_d_vector  b,
magma_d_vector *  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 Biconjugate Gradient Stabelized method.

Parameters
[in]Amagma_d_sparse_matrix input matrix A
[in]bmagma_d_vector RHS b
[in,out]xmagma_d_vector* solution approximation
[in,out]solver_parmagma_d_solver_par* solver parameters
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_dbicgstab_merge ( magma_d_sparse_matrix  A,
magma_d_vector  b,
magma_d_vector *  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 Biconjugate Gradient Stabelized method. The difference to magma_dbicgstab is that we use specifically designed kernels merging multiple operations into one kernel.

Parameters
[in]Amagma_d_sparse_matrix input matrix A
[in]bmagma_d_vector RHS b
[in,out]xmagma_d_vector* solution approximation
[in,out]solver_parmagma_d_solver_par* solver parameters
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_dbicgstab_merge2 ( magma_d_sparse_matrix  A,
magma_d_vector  b,
magma_d_vector *  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 Biconjugate Gradient Stabelized method. The difference to magma_dbicgstab is that we use specifically designed kernels merging multiple operations into one kernel.

Parameters
[in]Amagma_d_sparse_matrix input matrix A
[in]bmagma_d_vector RHS b
[in,out]xmagma_d_vector* solution approximation
[in,out]solver_parmagma_d_solver_par* solver parameters
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_dfgmres ( magma_d_sparse_matrix  A,
magma_d_vector  b,
magma_d_vector *  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 sparse matrix stored in the GPU memory.

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

Parameters
[in]Amagma_d_sparse_matrix descriptor for matrix A
[in]bmagma_d_vector RHS b vector
[in,out]xmagma_d_vector* solution approximation
[in,out]solver_parmagma_d_solver_par* solver parameters
[in]precond_parmagma_d_preconditioner* preconditioner
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_dgmres ( magma_d_sparse_matrix  A,
magma_d_vector  b,
magma_d_vector *  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 sparse matrix stored in the GPU memory.

X and B are real vectors stored on the GPU memory. This is a GPU implementation of the GMRES method.

Parameters
[in]Amagma_d_sparse_matrix descriptor for matrix A
[in]bmagma_d_vector RHS b vector
[in,out]xmagma_d_vector* solution approximation
[in,out]solver_parmagma_d_solver_par* solver parameters
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_diterref ( magma_d_sparse_matrix  A,
magma_d_vector  b,
magma_d_vector *  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 Iterative Refinement method. The inner solver is passed via the preconditioner argument.

Parameters
[in]Amagma_d_sparse_matrix input matrix A
[in]bmagma_d_vector RHS b
[in,out]xmagma_d_vector* solution approximation
[in,out]solver_parmagma_d_solver_par* solver parameters
[in,out]precond_parmagma_d_preconditioner* inner solver
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_djacobi ( magma_d_sparse_matrix  A,
magma_d_vector  b,
magma_d_vector *  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 Jacobi method.

Parameters
[in]Amagma_d_sparse_matrix input matrix A
[in]bmagma_d_vector RHS b
[in,out]xmagma_d_vector* solution approximation
[in,out]solver_parmagma_d_solver_par* solver parameters
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_dpastixsetup ( magma_d_sparse_matrix  A,
magma_d_vector  b,
magma_d_preconditioner *  precond,
magma_queue_t  queue 
)

Prepares the PASTIX solver.

Parameters
[in]Amagma_d_sparse_matrix input matrix A
[in]bmagma_d_vector RHS b
[in]precondmagma_d_preconditioner* preconditioner parameter
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_dpgmres ( magma_d_sparse_matrix  A,
magma_d_vector  b,
magma_d_vector *  x,
magma_d_solver_par *  solver_par,
magma_d_preconditioner *  precond_par,
magma_queue_t  queue 
)

ma Solves a system of linear equations A * X = B where A is a real sparse matrix stored in the GPU memory.

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

@param[in]
A           magma_d_sparse_matrix
            descriptor for matrix A

@param[in]
b           magma_d_vector
            RHS b vector

@param[in,out]
x           magma_d_vector*
            solution approximation

@param[in,out]
solver_par  magma_d_solver_par*
            solver parameters

@param[in]
precond_par magma_d_preconditioner*
            preconditioner
@param[in]
queue       magma_queue_t
            Queue to execute in.