MinMaxScalar
#
Template class for storing the min and max values for min/max reducers.
Should be accessed via ::value_type
defined for a particular reducer.
Header File: <Kokkos_Core.hpp>
Usage#
MinMax<T,S>::value_type result;
parallel_reduce(N,Functor,MinMax<T,S>(result));
T minValue = result.min_val;
T maxValue = result.max_val;
Synopsis#
template<class Scalar>
struct MinMaxScalar{
Scalar min_val;
Scalar max_val;
void operator = (const MinMaxScalar& rhs);
};