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

\( y = x \) More...

Functions

void magma_ccopy (magma_int_t n, magmaFloatComplex_const_ptr dx, magma_int_t incx, magmaFloatComplex_ptr dy, magma_int_t incy, magma_queue_t queue)
 Copy vector x to vector y; \( y = x \). More...
 
void magma_dcopy (magma_int_t n, magmaDouble_const_ptr dx, magma_int_t incx, magmaDouble_ptr dy, magma_int_t incy, magma_queue_t queue)
 Copy vector x to vector y; \( y = x \). More...
 
void magma_scopy (magma_int_t n, magmaFloat_const_ptr dx, magma_int_t incx, magmaFloat_ptr dy, magma_int_t incy, magma_queue_t queue)
 Copy vector x to vector y; \( y = x \). More...
 
void magma_zcopy (magma_int_t n, magmaDoubleComplex_const_ptr dx, magma_int_t incx, magmaDoubleComplex_ptr dy, magma_int_t incy, magma_queue_t queue)
 Copy vector x to vector y; \( y = x \). More...
 

Detailed Description

\( y = x \)

Function Documentation

void magma_ccopy ( magma_int_t  n,
magmaFloatComplex_const_ptr  dx,
magma_int_t  incx,
magmaFloatComplex_ptr  dy,
magma_int_t  incy,
magma_queue_t  queue 
)

Copy vector x to vector y; \( y = x \).

Parameters
[in]nNumber of elements in vectors x and y. n >= 0.
[in]dxCOMPLEX array on GPU device. The n element vector x of dimension (1 + (n-1)*incx).
[in]incxStride between consecutive elements of dx. incx != 0.
[out]dyCOMPLEX array on GPU device. The n element vector y of dimension (1 + (n-1)*incy).
[in]incyStride between consecutive elements of dy. incy != 0.
[in]queuemagma_queue_t Queue to execute in.
void magma_dcopy ( magma_int_t  n,
magmaDouble_const_ptr  dx,
magma_int_t  incx,
magmaDouble_ptr  dy,
magma_int_t  incy,
magma_queue_t  queue 
)

Copy vector x to vector y; \( y = x \).

Parameters
[in]nNumber of elements in vectors x and y. n >= 0.
[in]dxDOUBLE PRECISION array on GPU device. The n element vector x of dimension (1 + (n-1)*incx).
[in]incxStride between consecutive elements of dx. incx != 0.
[out]dyDOUBLE PRECISION array on GPU device. The n element vector y of dimension (1 + (n-1)*incy).
[in]incyStride between consecutive elements of dy. incy != 0.
[in]queuemagma_queue_t Queue to execute in.
void magma_scopy ( magma_int_t  n,
magmaFloat_const_ptr  dx,
magma_int_t  incx,
magmaFloat_ptr  dy,
magma_int_t  incy,
magma_queue_t  queue 
)

Copy vector x to vector y; \( y = x \).

Parameters
[in]nNumber of elements in vectors x and y. n >= 0.
[in]dxREAL array on GPU device. The n element vector x of dimension (1 + (n-1)*incx).
[in]incxStride between consecutive elements of dx. incx != 0.
[out]dyREAL array on GPU device. The n element vector y of dimension (1 + (n-1)*incy).
[in]incyStride between consecutive elements of dy. incy != 0.
[in]queuemagma_queue_t Queue to execute in.
void magma_zcopy ( magma_int_t  n,
magmaDoubleComplex_const_ptr  dx,
magma_int_t  incx,
magmaDoubleComplex_ptr  dy,
magma_int_t  incy,
magma_queue_t  queue 
)

Copy vector x to vector y; \( y = x \).

Parameters
[in]nNumber of elements in vectors x and y. n >= 0.
[in]dxCOMPLEX_16 array on GPU device. The n element vector x of dimension (1 + (n-1)*incx).
[in]incxStride between consecutive elements of dx. incx != 0.
[out]dyCOMPLEX_16 array on GPU device. The n element vector y of dimension (1 + (n-1)*incy).
[in]incyStride between consecutive elements of dy. incy != 0.
[in]queuemagma_queue_t Queue to execute in.