OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
cub::ReduceByKeyOp< ReductionOpT > Struct Template Reference

< Binary reduction operator to apply to values More...

Detailed Description

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

< 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. More...
 

Data Fields

ReductionOpT op
 Wrapped reduction operator.
 

Member Function Documentation

◆ operator()()

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

Scan operator.

Parameters
firstFirst partial reduction
secondSecond partial reduction

Definition at line 294 of file thread_operators.cuh.


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