thrust

◆ max_size()

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

Calculates the maximum number of elements allocated by this allocator.

Returns
the maximum value of std::size_t, divided by the size of T.