device_end

device_end#

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

◆ device_end() [2/4]

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

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

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