device_cbegin

device_cbegin#

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

◆ device_cbegin() [2/2]

template<typename T >
device_ptr< const T > stdgpu::device_cbegin ( const T *  device_array)

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

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