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

Function Documentation

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

Copies local data to a potentially remote memory allocation.

Template Parameters
  • T: type of the data to copy.
Parameters
  • 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.