host_begin

host_begin#

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

◆ host_begin() [4/4]

template<typename T >
host_ptr< T > stdgpu::host_begin ( T *  host_array)

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

Template Parameters
TThe type of the array
Parameters
[in]host_arrayAn array
Returns
A pointer to the begin of the host array