host_end

host_end#

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

◆ host_end() [4/4]

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

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

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