thrust

◆ deallocate()

template<typename Pointer = void *>
void thrust::mr::memory_resource< Pointer >::deallocate ( pointer  p,
std::size_t  bytes,
std::size_t  alignment = alignof(max_align_t) 
)
inline

Deallocates memory pointed to by p.

Parameters
ppointer to be deallocated
bytesthe size of the allocation. This must be equivalent to the value of bytes that was passed to the allocation function that returned p.
alignmentthe alignment of the allocation. This must be equivalent to the value of alignment that was passed to the allocation function that returned p.

Referenced by thrust::mr::memory_resource< device_ptr< void > >::do_is_equal().