Template Function shad::rt::dma(const T *, const Locality&, const T *, const size_t)¶
- Defined in File runtime.h
Function Documentation¶
-
template <typename T>
voidshad::rt::dma(const T *localAddress, const Locality &srcLoc, const T *remoteData, const size_t numElements)¶ Copies potentially remote data to local memory allocation.
- Template Parameters
T: type of the data to copy.
- Parameters
localAddress: The pointer to the local memory allocation.srcLoc: The locality where to copy from.remoteData: The pointer to the memory allocation to copy from.numElements: Number of elements to copy.