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

Functions

magma_int_t magma_dcgmerge_xrbeta (int 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...
 

Detailed Description

Function Documentation

magma_int_t magma_dcgmerge_xrbeta ( int  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.