Template Function shad::rt::asyncDma(Handle&, const Locality&, const T *, const T *, const size_t)

Function Documentation

template <typename T>
void shad::rt::asyncDma(Handle &handle, const Locality &destLoc, const T *remoteAddress, const T *localData, const size_t numElements)

Copies local data to a potentially remote.

Template Parameters
  • T: type of the data to copy
Parameters
  • handle: An Handle for the associated task-group.
  • destLoc: The locality where to copy to.
  • remoteAddress: The pointer to the destination memory allocation.
  • localeData: The pointer to the memory allocation to copy from.
  • numElements: Number of elements to copy.