device_unique_object

device_unique_object#

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

◆ device_unique_object() [1/2]

template<typename T >
template<typename... Args>
stdgpu::device_unique_object< T >::device_unique_object ( Args &&...  args)
explicit

Creates an object on the GPU (device)

Template Parameters
ArgsThe argument types
Parameters
[in]argsThe arguments to construct the object