Template Function shad::rt::asyncDma(Handle&, const T *, const Locality&, const T *, const size_t)¶
- Defined in File runtime.h
Function Documentation¶
-
template <typename T>
voidshad::rt
::
asyncDma
(Handle &handle, const T *localAddress, const Locality &srcLoc, const T *remoteData, const size_t numElements)¶ Copies (potentially remote) data.
- Template Parameters
T
: type of the data to copy
- Parameters
handle
: An Handle for the associated task-group.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.