All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups
Public Methods | Public Members | List of all members
cub::ReduceByKeyOp< ReductionOpT > Struct Template Reference

Detailed description

template< typename ReductionOpT>
struct cub::ReduceByKeyOp< ReductionOpT >

< Binary reduction operator to apply to values

Public Methods

__host__ __device__ __forceinline__ ReduceByKeyOp ()
__host__ __device__ __forceinline__ ReduceByKeyOp (ReductionOpT op)
template<typename KeyValuePairT >
__host__ __device__
__forceinline__ KeyValuePairT 
operator() (const KeyValuePairT &first, const KeyValuePairT &second)
 Scan operator. More...

Public Members

ReductionOpT op
 Wrapped reduction operator.

Member Function Documentation

template<typename ReductionOpT >
template<typename KeyValuePairT >
__host__ __device__ __forceinline__ KeyValuePairT cub::ReduceByKeyOp< ReductionOpT >::operator() ( const KeyValuePairT &  first,
const KeyValuePairT &  second 

Scan operator.

firstFirst partial reduction
secondSecond partial reduction

The documentation for this struct was generated from the following file: