device_begin

device_begin#

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

◆ device_begin() [1/4]

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

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

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