< Binary reduction operator to apply to values More...
< Binary reduction operator to apply to values
Definition at line 281 of file thread_operators.cuh.
Public Member Functions | |
| __host__ __device__ __forceinline__ | ReduceByKeyOp () |
| Constructor. | |
| __host__ __device__ __forceinline__ | ReduceByKeyOp (ReductionOpT op) |
| Constructor. | |
| template<typename KeyValuePairT > | |
| __host__ __device__ __forceinline__ KeyValuePairT | operator() (const KeyValuePairT &first, const KeyValuePairT &second) |
| Scan operator. | |
Data Fields | |
| ReductionOpT | op |
| Wrapped reduction operator. | |
|
inline |
Constructor.
Definition at line 287 of file thread_operators.cuh.
|
inline |
Constructor.
Definition at line 290 of file thread_operators.cuh.
|
inline |
Scan operator.
| first | First partial reduction |
| second | Second partial reduction |
Definition at line 294 of file thread_operators.cuh.
| ReductionOpT cub::ReduceByKeyOp< ReductionOpT >::op |
Wrapped reduction operator.
Definition at line 284 of file thread_operators.cuh.