Shortcuts

Template Function ripple::cpu::allocate_host_pinned

Function Documentation

template<typename Ptr>
auto ripple::cpu::allocate_host_pinned(Ptr **host_ptr, size_t bytes) -> void

Allocates the given number of bytes of page locked (pinned) memory at the location of the host pointer.

Todo:

Add support for pinned allocation if no cuda.

Parameters
  • host_ptr: The host pointer for the allocated memory.

  • bytes: The number of bytes to allocate.

Template Parameters
  • Ptr: The type of the 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