device_range

device_range#

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

◆ device_range() [3/4]

template<typename T >
STDGPU_HOST_DEVICE stdgpu::device_range< T >::device_range ( iterator  begin,
index64_t  n 
)

Constructor.

Parameters
[in]beginAn iterator to the begin of an array
[in]nThe number of array elements