createDeviceObject

createDeviceObject#

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

◆ createDeviceObject()

template<typename T , typename ContainerT = deque<T>>
static stack< T, ContainerT > stdgpu::stack< T, ContainerT >::createDeviceObject ( const index_t size)
static

Creates an object of this class on the GPU (device)

Parameters
[in]sizeThe size of managed array
Returns
A newly created object of this class allocated on the GPU (device)