Expression Templates Library (ETL)
Functions
shuffle.hpp File Reference

EGBLAS wrappers for the shuffle operations. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void etl::impl::egblas::shuffle ([[maybe_unused]] size_t n, [[maybe_unused]] void *x, [[maybe_unused]] size_t incx)
 Wrappers for egblas shuffle operation. More...
 
void etl::impl::egblas::shuffle_seed ([[maybe_unused]] size_t n, [[maybe_unused]] void *x, [[maybe_unused]] size_t incx, [[maybe_unused]] size_t seed)
 Wrappers for egblas shuffle_seed operation. More...
 
void etl::impl::egblas::par_shuffle ([[maybe_unused]] size_t n, [[maybe_unused]] void *x, [[maybe_unused]] size_t incx, [[maybe_unused]] void *y, [[maybe_unused]] size_t incy)
 Wrappers for egblas par_shuffle operation. More...
 
void etl::impl::egblas::par_shuffle_seed ([[maybe_unused]] size_t n, [[maybe_unused]] void *x, [[maybe_unused]] size_t incx, [[maybe_unused]] void *y, [[maybe_unused]] size_t incy, [[maybe_unused]] size_t seed)
 Wrappers for egblas par_shuffle_seed operation. More...
 

Detailed Description

EGBLAS wrappers for the shuffle operations.

Function Documentation

◆ par_shuffle()

void etl::impl::egblas::par_shuffle ( [[maybe_unused] ] size_t  n,
[[maybe_unused] ] void *  x,
[[maybe_unused] ] size_t  incx,
[[maybe_unused] ] void *  y,
[[maybe_unused] ] size_t  incy 
)
inline

Wrappers for egblas par_shuffle operation.

Parameters
nThe number of elements of the vector
xThe first vector to shuffle (GPU memory)
incxThe size of each element of the first vector
yThe second vector to shuffle (GPU memory)
incyThe size of each element of the second vector

◆ par_shuffle_seed()

void etl::impl::egblas::par_shuffle_seed ( [[maybe_unused] ] size_t  n,
[[maybe_unused] ] void *  x,
[[maybe_unused] ] size_t  incx,
[[maybe_unused] ] void *  y,
[[maybe_unused] ] size_t  incy,
[[maybe_unused] ] size_t  seed 
)
inline

Wrappers for egblas par_shuffle_seed operation.

Parameters
nThe number of elements of the vector
xThe first vector to shuffle (GPU memory)
incxThe size of each element of the first vector
yThe second vector to shuffle (GPU memory)
incyThe size of each element of the second vector
seedThe seed to initialize the random generator with

◆ shuffle()

void etl::impl::egblas::shuffle ( [[maybe_unused] ] size_t  n,
[[maybe_unused] ] void *  x,
[[maybe_unused] ] size_t  incx 
)
inline

Wrappers for egblas shuffle operation.

Parameters
nThe number of elements of the vector
xThe vector to shuffle (GPU memory)
incxThe size of each element of the vector

◆ shuffle_seed()

void etl::impl::egblas::shuffle_seed ( [[maybe_unused] ] size_t  n,
[[maybe_unused] ] void *  x,
[[maybe_unused] ] size_t  incx,
[[maybe_unused] ] size_t  seed 
)
inline

Wrappers for egblas shuffle_seed operation.

Parameters
nThe number of elements of the vector
xThe vector to shuffle (GPU memory)
incxThe size of each element of the vector
seedThe seed to initialize the random generator with