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

Functions

magma_int_t magma_zcgmerge_xrbeta (magma_int_t n, magmaDoubleComplex_ptr d1, magmaDoubleComplex_ptr d2, magmaDoubleComplex_ptr dx, magmaDoubleComplex_ptr dr, magmaDoubleComplex_ptr dd, magmaDoubleComplex_ptr dz, magmaDoubleComplex_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_zpcgmerge_xrbeta1 (magma_int_t n, magmaDoubleComplex_ptr dx, magmaDoubleComplex_ptr dr, magmaDoubleComplex_ptr dd, magmaDoubleComplex_ptr dz, magmaDoubleComplex_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_zpcgmerge_xrbeta2 (magma_int_t n, magmaDoubleComplex_ptr d1, magmaDoubleComplex_ptr d2, magmaDoubleComplex_ptr dh, magmaDoubleComplex_ptr dr, magmaDoubleComplex_ptr dd, magmaDoubleComplex_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_zjcgmerge_xrbeta (magma_int_t n, magmaDoubleComplex_ptr d1, magmaDoubleComplex_ptr d2, magmaDoubleComplex_ptr diag, magmaDoubleComplex_ptr dx, magmaDoubleComplex_ptr dr, magmaDoubleComplex_ptr dd, magmaDoubleComplex_ptr dz, magmaDoubleComplex_ptr dh, magmaDoubleComplex_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_zcgmerge_xrbeta ( magma_int_t  n,
magmaDoubleComplex_ptr  d1,
magmaDoubleComplex_ptr  d2,
magmaDoubleComplex_ptr  dx,
magmaDoubleComplex_ptr  dr,
magmaDoubleComplex_ptr  dd,
magmaDoubleComplex_ptr  dz,
magmaDoubleComplex_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]d1magmaDoubleComplex_ptr temporary vector
[in]d2magmaDoubleComplex_ptr temporary vector
[in,out]dxmagmaDoubleComplex_ptr input vector x
[in,out]drmagmaDoubleComplex_ptr input/output vector r
[in]ddmagmaDoubleComplex_ptr input vector d
[in]dzmagmaDoubleComplex_ptr input vector z
[in]skpmagmaDoubleComplex_ptr array for parameters
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_zpcgmerge_xrbeta1 ( magma_int_t  n,
magmaDoubleComplex_ptr  dx,
magmaDoubleComplex_ptr  dr,
magmaDoubleComplex_ptr  dd,
magmaDoubleComplex_ptr  dz,
magmaDoubleComplex_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]dxmagmaDoubleComplex_ptr input vector x
[in,out]drmagmaDoubleComplex_ptr input/output vector r
[in]ddmagmaDoubleComplex_ptr input vector d
[in]dzmagmaDoubleComplex_ptr input vector z
[in]skpmagmaDoubleComplex_ptr array for parameters
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_zpcgmerge_xrbeta2 ( magma_int_t  n,
magmaDoubleComplex_ptr  d1,
magmaDoubleComplex_ptr  d2,
magmaDoubleComplex_ptr  dh,
magmaDoubleComplex_ptr  dr,
magmaDoubleComplex_ptr  dd,
magmaDoubleComplex_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]d1magmaDoubleComplex_ptr temporary vector
[in]d2magmaDoubleComplex_ptr temporary vector
[in]dhmagmaDoubleComplex_ptr input vector x
[in]drmagmaDoubleComplex_ptr input/output vector r
[in]ddmagmaDoubleComplex_ptr input/output vector d
[in]skpmagmaDoubleComplex_ptr array for parameters
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_zjcgmerge_xrbeta ( magma_int_t  n,
magmaDoubleComplex_ptr  d1,
magmaDoubleComplex_ptr  d2,
magmaDoubleComplex_ptr  diag,
magmaDoubleComplex_ptr  dx,
magmaDoubleComplex_ptr  dr,
magmaDoubleComplex_ptr  dd,
magmaDoubleComplex_ptr  dz,
magmaDoubleComplex_ptr  dh,
magmaDoubleComplex_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]d1magmaDoubleComplex_ptr temporary vector
[in]d2magmaDoubleComplex_ptr temporary vector
[in]diagmagmaDoubleComplex_ptr inverse diagonal (Jacobi preconditioner)
[in]dxmagmaDoubleComplex_ptr iteration vector x
[in]drmagmaDoubleComplex_ptr input/output vector r
[in]ddmagmaDoubleComplex_ptr input vector d
[in]dzmagmaDoubleComplex_ptr input vector z
[in]dhmagmaDoubleComplex_ptr input vector h
[in]skpmagmaDoubleComplex_ptr array for parameters
[in]queuemagma_queue_t Queue to execute in.