device_cbegin

device_cbegin#

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

◆ device_cbegin() [1/2]

template<typename C >
auto stdgpu::device_cbegin ( const C &  device_container) -> decltype(device_begin(device_container))

Creates a contant pointer to the begin of the given device container.

Template Parameters
CThe type of the container
Parameters
[in]device_containerAn array
Returns
A constant pointer to the begin of the device container