YAKL
Namespaces | Functions
YAKL_mem_transfers.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 yakl
 

Functions

template<class T1 , class T2 , typename std::enable_if< std::is_same< typename std::remove_cv< T1 >::type, typename std::remove_cv< T2 >::type >::value, int >::type = 0>
void yakl::memcpy_device_to_device (T1 *dst, T2 *src, index_t elems, Stream stream=Stream())
 [USE AT YOUR OWN RISK]: memcpy the specified number of elements on the device More...
 
void yakl::memcpy_device_to_device_void (void *dst, void *src, size_t bytes, Stream stream=Stream())
 [USE AT YOUR OWN RISK]: memcpy the specified number of bytes on the device More...
 
template<class T1 , class T2 , typename std::enable_if< std::is_same< typename std::remove_cv< T1 >::type, typename std::remove_cv< T2 >::type >::value, int >::type = 0>
void yakl::memcpy_device_to_host (T1 *dst, T2 *src, index_t elems, Stream stream=Stream())
 [USE AT YOUR OWN RISK]: memcpy the specified number of elements from device to host More...
 
template<class T1 , class T2 , typename std::enable_if< std::is_same< typename std::remove_cv< T1 >::type, typename std::remove_cv< T2 >::type >::value, int >::type = 0>
void yakl::memcpy_host_to_device (T1 *dst, T2 *src, index_t elems, Stream stream=Stream())
 [USE AT YOUR OWN RISK]: memcpy the specified number of elements from host to device More...
 
template<class T1 , class T2 , typename std::enable_if< std::is_same< typename std::remove_cv< T1 >::type, typename std::remove_cv< T2 >::type >::value, int >::type = 0>
void yakl::memcpy_host_to_host (T1 *dst, T2 *src, index_t elems)
 [USE AT YOUR OWN RISK]: memcpy the specified number of elements on the host More...
 
void yakl::memcpy_host_to_host_void (void *dst, void *src, size_t bytes)
 [USE AT YOUR OWN RISK]: memcpy the specified number of bytes on the host More...
 

Detailed Description

YAKL memory transfoer routines