device_end

device_end#

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

◆ device_end() [1/4]

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

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

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