OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
cub::InequalityWrapper< EqualityOp > Struct Template Reference

Inequality functor (wraps equality functor) More...

Detailed Description

template<typename EqualityOp>
struct cub::InequalityWrapper< EqualityOp >

Inequality functor (wraps equality functor)

Definition at line 88 of file thread_operators.cuh.

Public Member Functions

__host__ __device__ __forceinline__ InequalityWrapper (EqualityOp op)
 Constructor.
 
template<typename T >
__host__ __device__ __forceinline__ bool operator() (const T &a, const T &b)
 Boolean inequality operator, returns (a != b)
 

Data Fields

EqualityOp op
 Wrapped equality operator.
 

Constructor & Destructor Documentation

◆ InequalityWrapper()

template<typename EqualityOp >
__host__ __device__ __forceinline__ cub::InequalityWrapper< EqualityOp >::InequalityWrapper ( EqualityOp  op)
inline

Constructor.

Definition at line 95 of file thread_operators.cuh.

Member Function Documentation

◆ operator()()

template<typename EqualityOp >
template<typename T >
__host__ __device__ __forceinline__ bool cub::InequalityWrapper< EqualityOp >::operator() ( const T &  a,
const T &  b 
)
inline

Boolean inequality operator, returns (a != b)

Definition at line 99 of file thread_operators.cuh.

Field Documentation

◆ op

template<typename EqualityOp >
EqualityOp cub::InequalityWrapper< EqualityOp >::op

Wrapped equality operator.

Definition at line 91 of file thread_operators.cuh.


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