createDeviceObject

createDeviceObject#

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

◆ createDeviceObject()

template<typename T , typename ContainerT = deque<T>>
static queue< T, ContainerT > stdgpu::queue< 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)