device_begin

device_begin#

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

◆ device_begin() [2/4]

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

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