thrust

◆ resource()

template<typename T, class MR>
__host__ __device__ MR* thrust::mr::allocator< T, MR >::resource ( ) const
inline

Extracts the memory resource used by this allocator.

Returns
the memory resource used by this allocator.