max — stdgpu Latest documentation (original) (raw)

max#

stdgpu: stdgpu::max

stdgpu Latest

Efficient STL-like Data Structures on the GPU

clamp copy copy_n fill fill_n for_each_index max min max() template constexpr STDGPU_HOST_DEVICE const T & stdgpu::max ( const T & a, const T & b ) constexpr Computes the maximum of the given values. Template Parameters TThe type of the values Parameters [in]aA value [in]bAnother value Returnsa if a >= b, b otherwise

Generated by doxygen 1.9.6