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

Functions

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

Detailed Description

Function Documentation

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