thrust

◆ deallocate()

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

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_free().