make_managed_buffer#

template<class _Tp, class ..._Args>
inline auto cuda::make_managed_buffer(
stream_ref __stream,
_Args&&... __args
)#

Creates a buffer backed by the default managed memory pool.

See also

make_buffer for the full set of supported argument combinations.

Parameters:
  • __stream – The stream used for allocation.

  • __args – Remaining arguments forwarded to make_buffer.