cub::ReduceByKeyOp#
-
template<typename ReductionOpT>
struct ReduceByKeyOp# - Template Parameters:
ReductionOpT – Binary reduction operator to apply to values
Public Functions
-
inline ReduceByKeyOp()#
Constructor.
-
inline ReduceByKeyOp(ReductionOpT op)#
Constructor.
-
template<typename KeyValuePairT>
inline KeyValuePairT operator()( - const KeyValuePairT &first,
- const KeyValuePairT &second,
Scan operator.
- Parameters:
first – [in] First partial reduction
second – [in] Second partial reduction
Public Members
-
ReductionOpT op#
Wrapped reduction operator.