device_range

device_range#

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

◆ device_range() [2/4]

template<typename T >
STDGPU_HOST_DEVICE stdgpu::device_range< T >::device_range ( T *  p,
index64_t  n 
)

Constructor.

Parameters
[in]pA pointer to the array
[in]nThe number of array elements