Thrust

◆ max_size()

template<typename T >
__host__ __device__ size_type thrust::device_new_allocator< T >::max_size ( ) const

Returns the largest value n for which allocate(n) might succeed.

Returns
The largest value n for which allocate(n) might succeed.

References thrust::THRUST_PREVENT_MACRO_SUBSTITUTION().