device_end

device_end#

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

◆ device_end() [4/4]

template<typename T >
device_ptr< T > stdgpu::device_end ( T *  device_array)

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

Template Parameters
TThe type of the array
Parameters
[in]device_arrayAn array
Returns
A pointer to the end of the device array