MAGMA  2.7.1
Matrix Algebra for GPU and Multicore Architectures
 All Classes Files Functions Friends Groups Pages

Functions

magma_int_t magma_dcgmerge_xrbeta (magma_int_t n, magmaDouble_ptr d1, magmaDouble_ptr d2, magmaDouble_ptr dx, magmaDouble_ptr dr, magmaDouble_ptr dd, magmaDouble_ptr dz, magmaDouble_ptr skp, magma_queue_t queue)
 Merges the update of r and x with the dot product and performs then the update for the Krylov vector d. More...
 
magma_int_t magma_dpcgmerge_xrbeta1 (magma_int_t n, magmaDouble_ptr dx, magmaDouble_ptr dr, magmaDouble_ptr dd, magmaDouble_ptr dz, magmaDouble_ptr skp, magma_queue_t queue)
 Merges the update of r and x with the dot product and performs then the update for the Krylov vector d. More...
 
magma_int_t magma_dpcgmerge_xrbeta2 (magma_int_t n, magmaDouble_ptr d1, magmaDouble_ptr d2, magmaDouble_ptr dh, magmaDouble_ptr dr, magmaDouble_ptr dd, magmaDouble_ptr skp, magma_queue_t queue)
 Merges the update of r and x with the dot product and performs then the update for the Krylov vector d. More...
 
magma_int_t magma_djcgmerge_xrbeta (magma_int_t n, magmaDouble_ptr d1, magmaDouble_ptr d2, magmaDouble_ptr diag, magmaDouble_ptr dx, magmaDouble_ptr dr, magmaDouble_ptr dd, magmaDouble_ptr dz, magmaDouble_ptr dh, magmaDouble_ptr skp, magma_queue_t queue)
 Merges the update of r and x with the dot product and performs then the update for the Krylov vector d. More...
 

Detailed Description

Function Documentation

magma_int_t magma_dcgmerge_xrbeta ( magma_int_t  n,
magmaDouble_ptr  d1,
magmaDouble_ptr  d2,
magmaDouble_ptr  dx,
magmaDouble_ptr  dr,
magmaDouble_ptr  dd,
magmaDouble_ptr  dz,
magmaDouble_ptr  skp,
magma_queue_t  queue 
)

Merges the update of r and x with the dot product and performs then the update for the Krylov vector d.

Parameters
[in]nint dimension n
[in]d1magmaDouble_ptr temporary vector
[in]d2magmaDouble_ptr temporary vector
[in,out]dxmagmaDouble_ptr input vector x
[in,out]drmagmaDouble_ptr input/output vector r
[in]ddmagmaDouble_ptr input vector d
[in]dzmagmaDouble_ptr input vector z
[in]skpmagmaDouble_ptr array for parameters
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_dpcgmerge_xrbeta1 ( magma_int_t  n,
magmaDouble_ptr  dx,
magmaDouble_ptr  dr,
magmaDouble_ptr  dd,
magmaDouble_ptr  dz,
magmaDouble_ptr  skp,
magma_queue_t  queue 
)

Merges the update of r and x with the dot product and performs then the update for the Krylov vector d.

Parameters
[in]nint dimension n
[in,out]dxmagmaDouble_ptr input vector x
[in,out]drmagmaDouble_ptr input/output vector r
[in]ddmagmaDouble_ptr input vector d
[in]dzmagmaDouble_ptr input vector z
[in]skpmagmaDouble_ptr array for parameters
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_dpcgmerge_xrbeta2 ( magma_int_t  n,
magmaDouble_ptr  d1,
magmaDouble_ptr  d2,
magmaDouble_ptr  dh,
magmaDouble_ptr  dr,
magmaDouble_ptr  dd,
magmaDouble_ptr  skp,
magma_queue_t  queue 
)

Merges the update of r and x with the dot product and performs then the update for the Krylov vector d.

Parameters
[in]nint dimension n
[in]d1magmaDouble_ptr temporary vector
[in]d2magmaDouble_ptr temporary vector
[in]dhmagmaDouble_ptr input vector x
[in]drmagmaDouble_ptr input/output vector r
[in]ddmagmaDouble_ptr input/output vector d
[in]skpmagmaDouble_ptr array for parameters
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_djcgmerge_xrbeta ( magma_int_t  n,
magmaDouble_ptr  d1,
magmaDouble_ptr  d2,
magmaDouble_ptr  diag,
magmaDouble_ptr  dx,
magmaDouble_ptr  dr,
magmaDouble_ptr  dd,
magmaDouble_ptr  dz,
magmaDouble_ptr  dh,
magmaDouble_ptr  skp,
magma_queue_t  queue 
)

Merges the update of r and x with the dot product and performs then the update for the Krylov vector d.

Parameters
[in]nint dimension n
[in]d1magmaDouble_ptr temporary vector
[in]d2magmaDouble_ptr temporary vector
[in]diagmagmaDouble_ptr inverse diagonal (Jacobi preconditioner)
[in]dxmagmaDouble_ptr iteration vector x
[in]drmagmaDouble_ptr input/output vector r
[in]ddmagmaDouble_ptr input vector d
[in]dzmagmaDouble_ptr input vector z
[in]dhmagmaDouble_ptr input vector h
[in]skpmagmaDouble_ptr array for parameters
[in]queuemagma_queue_t Queue to execute in.