host_begin

host_begin#

stdgpu: stdgpu::host_begin
stdgpu Latest
Efficient STL-like Data Structures on the GPU

◆ host_begin() [1/4]

template<typename C >
auto stdgpu::host_begin ( C &  host_container) -> decltype(host_container.host_begin())

Creates a pointer to the begin of the given host container.

Template Parameters
CThe type of the container
Parameters
[in]host_containerAn array
Returns
A pointer to the begin of the host container