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

Functions

magma_int_t magma_ccgmerge_xrbeta (magma_int_t n, magmaFloatComplex_ptr d1, magmaFloatComplex_ptr d2, magmaFloatComplex_ptr dx, magmaFloatComplex_ptr dr, magmaFloatComplex_ptr dd, magmaFloatComplex_ptr dz, magmaFloatComplex_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_cpcgmerge_xrbeta1 (magma_int_t n, magmaFloatComplex_ptr dx, magmaFloatComplex_ptr dr, magmaFloatComplex_ptr dd, magmaFloatComplex_ptr dz, magmaFloatComplex_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_cpcgmerge_xrbeta2 (magma_int_t n, magmaFloatComplex_ptr d1, magmaFloatComplex_ptr d2, magmaFloatComplex_ptr dh, magmaFloatComplex_ptr dr, magmaFloatComplex_ptr dd, magmaFloatComplex_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_cjcgmerge_xrbeta (magma_int_t n, magmaFloatComplex_ptr d1, magmaFloatComplex_ptr d2, magmaFloatComplex_ptr diag, magmaFloatComplex_ptr dx, magmaFloatComplex_ptr dr, magmaFloatComplex_ptr dd, magmaFloatComplex_ptr dz, magmaFloatComplex_ptr dh, magmaFloatComplex_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_ccgmerge_xrbeta ( magma_int_t  n,
magmaFloatComplex_ptr  d1,
magmaFloatComplex_ptr  d2,
magmaFloatComplex_ptr  dx,
magmaFloatComplex_ptr  dr,
magmaFloatComplex_ptr  dd,
magmaFloatComplex_ptr  dz,
magmaFloatComplex_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]d1magmaFloatComplex_ptr temporary vector
[in]d2magmaFloatComplex_ptr temporary vector
[in,out]dxmagmaFloatComplex_ptr input vector x
[in,out]drmagmaFloatComplex_ptr input/output vector r
[in]ddmagmaFloatComplex_ptr input vector d
[in]dzmagmaFloatComplex_ptr input vector z
[in]skpmagmaFloatComplex_ptr array for parameters
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_cpcgmerge_xrbeta1 ( magma_int_t  n,
magmaFloatComplex_ptr  dx,
magmaFloatComplex_ptr  dr,
magmaFloatComplex_ptr  dd,
magmaFloatComplex_ptr  dz,
magmaFloatComplex_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]dxmagmaFloatComplex_ptr input vector x
[in,out]drmagmaFloatComplex_ptr input/output vector r
[in]ddmagmaFloatComplex_ptr input vector d
[in]dzmagmaFloatComplex_ptr input vector z
[in]skpmagmaFloatComplex_ptr array for parameters
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_cpcgmerge_xrbeta2 ( magma_int_t  n,
magmaFloatComplex_ptr  d1,
magmaFloatComplex_ptr  d2,
magmaFloatComplex_ptr  dh,
magmaFloatComplex_ptr  dr,
magmaFloatComplex_ptr  dd,
magmaFloatComplex_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]d1magmaFloatComplex_ptr temporary vector
[in]d2magmaFloatComplex_ptr temporary vector
[in]dhmagmaFloatComplex_ptr input vector x
[in]drmagmaFloatComplex_ptr input/output vector r
[in]ddmagmaFloatComplex_ptr input/output vector d
[in]skpmagmaFloatComplex_ptr array for parameters
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_cjcgmerge_xrbeta ( magma_int_t  n,
magmaFloatComplex_ptr  d1,
magmaFloatComplex_ptr  d2,
magmaFloatComplex_ptr  diag,
magmaFloatComplex_ptr  dx,
magmaFloatComplex_ptr  dr,
magmaFloatComplex_ptr  dd,
magmaFloatComplex_ptr  dz,
magmaFloatComplex_ptr  dh,
magmaFloatComplex_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]d1magmaFloatComplex_ptr temporary vector
[in]d2magmaFloatComplex_ptr temporary vector
[in]diagmagmaFloatComplex_ptr inverse diagonal (Jacobi preconditioner)
[in]dxmagmaFloatComplex_ptr iteration vector x
[in]drmagmaFloatComplex_ptr input/output vector r
[in]ddmagmaFloatComplex_ptr input vector d
[in]dzmagmaFloatComplex_ptr input vector z
[in]dhmagmaFloatComplex_ptr input vector h
[in]skpmagmaFloatComplex_ptr array for parameters
[in]queuemagma_queue_t Queue to execute in.