device_begin

device_begin#

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

◆ device_begin() [4/4]

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

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

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