OpenFPM  5.2.0
Project that contain the implementation of distributed structures
cub::AgentReduceByKey< AgentReduceByKeyPolicyT, KeysInputIteratorT, UniqueOutputIteratorT, ValuesInputIteratorT, AggregatesOutputIteratorT, NumRunsOutputIteratorT, EqualityOpT, ReductionOpT, OffsetT >::GuardedInequalityWrapper< _EqualityOpT > Struct Template Reference

Public Member Functions

__host__ __device__ __forceinline__ GuardedInequalityWrapper (_EqualityOpT op, int num_remaining)
 Constructor.
 
template<typename T >
__host__ __device__ __forceinline__ bool operator() (const T &a, const T &b, int idx) const
 Boolean inequality operator, returns (a != b)
 

Data Fields

_EqualityOpT op
 Wrapped equality operator.
 
int num_remaining
 Items remaining.
 

Detailed Description

template<typename AgentReduceByKeyPolicyT, typename KeysInputIteratorT, typename UniqueOutputIteratorT, typename ValuesInputIteratorT, typename AggregatesOutputIteratorT, typename NumRunsOutputIteratorT, typename EqualityOpT, typename ReductionOpT, typename OffsetT>
template<typename _EqualityOpT>
struct cub::AgentReduceByKey< AgentReduceByKeyPolicyT, KeysInputIteratorT, UniqueOutputIteratorT, ValuesInputIteratorT, AggregatesOutputIteratorT, NumRunsOutputIteratorT, EqualityOpT, ReductionOpT, OffsetT >::GuardedInequalityWrapper< _EqualityOpT >

Definition at line 133 of file agent_reduce_by_key.cuh.


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