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

\( x <=> y \) More...

Functions

void magma_cswap (magma_int_t n, magmaFloatComplex_ptr dx, magma_int_t incx, magmaFloatComplex_ptr dy, magma_int_t incy, magma_queue_t queue)
 Swap vector x and y; \( x <-> y \). More...
 
void magma_dswap (magma_int_t n, magmaDouble_ptr dx, magma_int_t incx, magmaDouble_ptr dy, magma_int_t incy, magma_queue_t queue)
 Swap vector x and y; \( x <-> y \). More...
 
void magma_sswap (magma_int_t n, magmaFloat_ptr dx, magma_int_t incx, magmaFloat_ptr dy, magma_int_t incy, magma_queue_t queue)
 Swap vector x and y; \( x <-> y \). More...
 
void magma_zswap (magma_int_t n, magmaDoubleComplex_ptr dx, magma_int_t incx, magmaDoubleComplex_ptr dy, magma_int_t incy, magma_queue_t queue)
 Swap vector x and y; \( x <-> y \). More...
 
void magmablas_cswap (magma_int_t n, magmaFloatComplex_ptr dx, magma_int_t incx, magmaFloatComplex_ptr dy, magma_int_t incy, magma_queue_t queue)
 

Purpose:

Swap vector x and y; \( x <-> y \). More...
 
void magmablas_dswap (magma_int_t n, magmaDouble_ptr dx, magma_int_t incx, magmaDouble_ptr dy, magma_int_t incy, magma_queue_t queue)
 

Purpose:

Swap vector x and y; \( x <-> y \). More...
 
void magmablas_sswap (magma_int_t n, magmaFloat_ptr dx, magma_int_t incx, magmaFloat_ptr dy, magma_int_t incy, magma_queue_t queue)
 

Purpose:

Swap vector x and y; \( x <-> y \). More...
 
void magmablas_zswap (magma_int_t n, magmaDoubleComplex_ptr dx, magma_int_t incx, magmaDoubleComplex_ptr dy, magma_int_t incy, magma_queue_t queue)
 

Purpose:

Swap vector x and y; \( x <-> y \). More...
 

Detailed Description

\( x <=> y \)

Function Documentation

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

Swap vector x and y; \( x <-> y \).

Parameters
[in]nNumber of elements in vector x and y. n >= 0.
[in,out]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.
[in,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_dswap ( magma_int_t  n,
magmaDouble_ptr  dx,
magma_int_t  incx,
magmaDouble_ptr  dy,
magma_int_t  incy,
magma_queue_t  queue 
)

Swap vector x and y; \( x <-> y \).

Parameters
[in]nNumber of elements in vector x and y. n >= 0.
[in,out]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.
[in,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_sswap ( magma_int_t  n,
magmaFloat_ptr  dx,
magma_int_t  incx,
magmaFloat_ptr  dy,
magma_int_t  incy,
magma_queue_t  queue 
)

Swap vector x and y; \( x <-> y \).

Parameters
[in]nNumber of elements in vector x and y. n >= 0.
[in,out]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.
[in,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_zswap ( magma_int_t  n,
magmaDoubleComplex_ptr  dx,
magma_int_t  incx,
magmaDoubleComplex_ptr  dy,
magma_int_t  incy,
magma_queue_t  queue 
)

Swap vector x and y; \( x <-> y \).

Parameters
[in]nNumber of elements in vector x and y. n >= 0.
[in,out]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.
[in,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.
void magmablas_cswap ( magma_int_t  n,
magmaFloatComplex_ptr  dx,
magma_int_t  incx,
magmaFloatComplex_ptr  dy,
magma_int_t  incy,
magma_queue_t  queue 
)

Purpose:

Swap vector x and y; \( x <-> y \).

Parameters
[in]nNumber of elements in vector x and y. n >= 0.
[in,out]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.
[in,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 magmablas_dswap ( magma_int_t  n,
magmaDouble_ptr  dx,
magma_int_t  incx,
magmaDouble_ptr  dy,
magma_int_t  incy,
magma_queue_t  queue 
)

Purpose:

Swap vector x and y; \( x <-> y \).

Parameters
[in]nNumber of elements in vector x and y. n >= 0.
[in,out]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.
[in,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 magmablas_sswap ( magma_int_t  n,
magmaFloat_ptr  dx,
magma_int_t  incx,
magmaFloat_ptr  dy,
magma_int_t  incy,
magma_queue_t  queue 
)

Purpose:

Swap vector x and y; \( x <-> y \).

Parameters
[in]nNumber of elements in vector x and y. n >= 0.
[in,out]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.
[in,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 magmablas_zswap ( magma_int_t  n,
magmaDoubleComplex_ptr  dx,
magma_int_t  incx,
magmaDoubleComplex_ptr  dy,
magma_int_t  incy,
magma_queue_t  queue 
)

Purpose:

Swap vector x and y; \( x <-> y \).

Parameters
[in]nNumber of elements in vector x and y. n >= 0.
[in,out]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.
[in,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.