Shortcuts

Template Function ripple::gpu::memcpy_device_to_device

Function Documentation

template<typename DevPtr>
auto ripple::gpu::memcpy_device_to_device(DevPtr *dev_ptr_out, const DevPtr *dev_ptr_in, size_t bytes) -> void

Copies the given bytes of data from one device pointer to the other.

Note

This will block on the host until the copy is complete.

Parameters
  • dev_ptr_in: The device pointer to copy from.

  • dev_ptr_out: The device pointer to copy to.

  • bytes: The number of bytes to copy.

Template Parameters
  • DevPtr: The type of the device pointer.

Docs

Access comprehensive developer documentation for Ripple

View Docs

Tutorials

Get tutorials to help with understand all features

View Tutorials

Examples

Find examples to help get started

View Examples