device_range

device_range#

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

◆ device_range() [1/4]

template<typename T >
stdgpu::device_range< T >::device_range ( T *  p)
explicit

Constructor with automatic size inference from the given pointer.

Parameters
[in]pA pointer to the array