Thrust

◆ deallocate()

template<typename T >
__host__ void thrust::device_new_allocator< T >::deallocate ( pointer  p,
size_type  cnt 
)

Deallocates storage for objects allocated with allocate.

Parameters
pA pointer to the storage to deallocate.
cntThe size of the previous allocation.
Note
Memory deallocated by this function must previously have been allocated with allocate.

References thrust::device_delete().