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

Functions

magma_int_t magma_scgmerge_xrbeta (magma_int_t n, magmaFloat_ptr d1, magmaFloat_ptr d2, magmaFloat_ptr dx, magmaFloat_ptr dr, magmaFloat_ptr dd, magmaFloat_ptr dz, magmaFloat_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_spcgmerge_xrbeta1 (magma_int_t n, magmaFloat_ptr dx, magmaFloat_ptr dr, magmaFloat_ptr dd, magmaFloat_ptr dz, magmaFloat_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_spcgmerge_xrbeta2 (magma_int_t n, magmaFloat_ptr d1, magmaFloat_ptr d2, magmaFloat_ptr dh, magmaFloat_ptr dr, magmaFloat_ptr dd, magmaFloat_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_sjcgmerge_xrbeta (magma_int_t n, magmaFloat_ptr d1, magmaFloat_ptr d2, magmaFloat_ptr diag, magmaFloat_ptr dx, magmaFloat_ptr dr, magmaFloat_ptr dd, magmaFloat_ptr dz, magmaFloat_ptr dh, magmaFloat_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_scgmerge_xrbeta ( magma_int_t  n,
magmaFloat_ptr  d1,
magmaFloat_ptr  d2,
magmaFloat_ptr  dx,
magmaFloat_ptr  dr,
magmaFloat_ptr  dd,
magmaFloat_ptr  dz,
magmaFloat_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]d1magmaFloat_ptr temporary vector
[in]d2magmaFloat_ptr temporary vector
[in,out]dxmagmaFloat_ptr input vector x
[in,out]drmagmaFloat_ptr input/output vector r
[in]ddmagmaFloat_ptr input vector d
[in]dzmagmaFloat_ptr input vector z
[in]skpmagmaFloat_ptr array for parameters
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_spcgmerge_xrbeta1 ( magma_int_t  n,
magmaFloat_ptr  dx,
magmaFloat_ptr  dr,
magmaFloat_ptr  dd,
magmaFloat_ptr  dz,
magmaFloat_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]dxmagmaFloat_ptr input vector x
[in,out]drmagmaFloat_ptr input/output vector r
[in]ddmagmaFloat_ptr input vector d
[in]dzmagmaFloat_ptr input vector z
[in]skpmagmaFloat_ptr array for parameters
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_spcgmerge_xrbeta2 ( magma_int_t  n,
magmaFloat_ptr  d1,
magmaFloat_ptr  d2,
magmaFloat_ptr  dh,
magmaFloat_ptr  dr,
magmaFloat_ptr  dd,
magmaFloat_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]d1magmaFloat_ptr temporary vector
[in]d2magmaFloat_ptr temporary vector
[in]dhmagmaFloat_ptr input vector x
[in]drmagmaFloat_ptr input/output vector r
[in]ddmagmaFloat_ptr input/output vector d
[in]skpmagmaFloat_ptr array for parameters
[in]queuemagma_queue_t Queue to execute in.
magma_int_t magma_sjcgmerge_xrbeta ( magma_int_t  n,
magmaFloat_ptr  d1,
magmaFloat_ptr  d2,
magmaFloat_ptr  diag,
magmaFloat_ptr  dx,
magmaFloat_ptr  dr,
magmaFloat_ptr  dd,
magmaFloat_ptr  dz,
magmaFloat_ptr  dh,
magmaFloat_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]d1magmaFloat_ptr temporary vector
[in]d2magmaFloat_ptr temporary vector
[in]diagmagmaFloat_ptr inverse diagonal (Jacobi preconditioner)
[in]dxmagmaFloat_ptr iteration vector x
[in]drmagmaFloat_ptr input/output vector r
[in]ddmagmaFloat_ptr input vector d
[in]dzmagmaFloat_ptr input vector z
[in]dhmagmaFloat_ptr input vector h
[in]skpmagmaFloat_ptr array for parameters
[in]queuemagma_queue_t Queue to execute in.