host_end

host_end#

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

◆ host_end() [3/4]

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

Creates a constant pointer to the end of the given host array.

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