/** * Constructor. * * @param base object of base class baseClass (see template parameters) * @param direction exchange direction to map to */ HINLINE BorderMapping(const BaseClass& base, PMacc::ExchangeType direction): BaseClass(base), m_direction(direction) { PMACC_ASSERT(direction != 0); }
void copyFrom(DeviceBuffer<TYPE, DIM>& other) { PMACC_ASSERT(this->isMyDataSpaceGreaterThan(other.getCurrentDataSpace())); Environment<>::get().Factory().createTaskCopyDeviceToDevice(other, *this); }