host_begin

host_begin#

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

◆ host_begin() [2/4]

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

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

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