OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
cub::AgentRle< AgentRlePolicyT, InputIteratorT, OffsetsOutputIteratorT, LengthsOutputIteratorT, EqualityOpT, OffsetT >::OobInequalityOp< LAST_TILE > Struct Template Reference

Detailed Description

template<typename AgentRlePolicyT, typename InputIteratorT, typename OffsetsOutputIteratorT, typename LengthsOutputIteratorT, typename EqualityOpT, typename OffsetT>
template<bool LAST_TILE>
struct cub::AgentRle< AgentRlePolicyT, InputIteratorT, OffsetsOutputIteratorT, LengthsOutputIteratorT, EqualityOpT, OffsetT >::OobInequalityOp< LAST_TILE >

Special operator that signals all out-of-bounds items are not equal to everything else, forcing both (1) the last item to be tail-flagged and (2) all oob items to be marked trivial.

Definition at line 147 of file agent_rle.cuh.

Public Member Functions

__device__ __forceinline__ OobInequalityOp (OffsetT num_remaining, EqualityOpT equality_op)
 
template<typename Index >
__host__ __device__ __forceinline__ bool operator() (T first, T second, Index idx)
 

Data Fields

OffsetT num_remaining
 
EqualityOpT equality_op
 

Constructor & Destructor Documentation

◆ OobInequalityOp()

template<typename AgentRlePolicyT , typename InputIteratorT , typename OffsetsOutputIteratorT , typename LengthsOutputIteratorT , typename EqualityOpT , typename OffsetT >
template<bool LAST_TILE>
__device__ __forceinline__ cub::AgentRle< AgentRlePolicyT, InputIteratorT, OffsetsOutputIteratorT, LengthsOutputIteratorT, EqualityOpT, OffsetT >::OobInequalityOp< LAST_TILE >::OobInequalityOp ( OffsetT  num_remaining,
EqualityOpT  equality_op 
)
inline

Definition at line 152 of file agent_rle.cuh.

Member Function Documentation

◆ operator()()

template<typename AgentRlePolicyT , typename InputIteratorT , typename OffsetsOutputIteratorT , typename LengthsOutputIteratorT , typename EqualityOpT , typename OffsetT >
template<bool LAST_TILE>
template<typename Index >
__host__ __device__ __forceinline__ bool cub::AgentRle< AgentRlePolicyT, InputIteratorT, OffsetsOutputIteratorT, LengthsOutputIteratorT, EqualityOpT, OffsetT >::OobInequalityOp< LAST_TILE >::operator() ( T  first,
T  second,
Index  idx 
)
inline

Definition at line 161 of file agent_rle.cuh.

Field Documentation

◆ equality_op

template<typename AgentRlePolicyT , typename InputIteratorT , typename OffsetsOutputIteratorT , typename LengthsOutputIteratorT , typename EqualityOpT , typename OffsetT >
template<bool LAST_TILE>
EqualityOpT cub::AgentRle< AgentRlePolicyT, InputIteratorT, OffsetsOutputIteratorT, LengthsOutputIteratorT, EqualityOpT, OffsetT >::OobInequalityOp< LAST_TILE >::equality_op

Definition at line 150 of file agent_rle.cuh.

◆ num_remaining

template<typename AgentRlePolicyT , typename InputIteratorT , typename OffsetsOutputIteratorT , typename LengthsOutputIteratorT , typename EqualityOpT , typename OffsetT >
template<bool LAST_TILE>
OffsetT cub::AgentRle< AgentRlePolicyT, InputIteratorT, OffsetsOutputIteratorT, LengthsOutputIteratorT, EqualityOpT, OffsetT >::OobInequalityOp< LAST_TILE >::num_remaining

Definition at line 149 of file agent_rle.cuh.


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