CUB
|
< Binary reduction operator to apply to values
Public Methods | |
__host__ __device__ __forceinline__ | ReduceByKeyOp () |
Constructor. More... | |
__host__ __device__ __forceinline__ | ReduceByKeyOp (ReductionOpT op) |
Constructor. More... | |
template<typename KeyValuePairT > | |
__host__ __device__ __forceinline__ KeyValuePairT | operator() (const KeyValuePairT &first, const KeyValuePairT &second) |
Scan operator. More... | |
Public Members | |
ReductionOpT | op |
Wrapped reduction operator. More... | |
|
inline |
Constructor.
|
inline |
Constructor.
|
inline |
Scan operator.
first | First partial reduction |
second | Second partial reduction |
ReductionOpT cub::ReduceByKeyOp< ReductionOpT >::op |
Wrapped reduction operator.