destroyDeviceObject

destroyDeviceObject#

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

◆ destroyDeviceObject() [2/2]

template<typename T , typename Allocator = safe_device_allocator<T>>
static void stdgpu::vector< T, Allocator >::destroyDeviceObject ( vector< T, Allocator > &  device_object)
static

Destroys the given object of this class on the GPU (device)

Parameters
[in]device_objectThe object allocated on the GPU (device)