thrust

◆ allocator() [1/2]

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

Constructor.

Parameters
resourcethe resource to be used to allocate raw memory.