host_cbegin

host_cbegin#

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

◆ host_cbegin() [2/2]

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

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

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