make_host

make_host#

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

◆ make_host()

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

Constructs a host_ptr object.

Template Parameters
TThe type of the array
Parameters
[in]host_arrayAn array
Returns
A host_ptr pointing to the array