cub::InequalityWrapper

Defined in cub/thread/thread_operators.cuh

template<typename EqualityOp>
struct InequalityWrapper

Inequality functor (wraps equality functor)

Public Functions

inline InequalityWrapper(EqualityOp op)

Constructor.

template<typename T, typename U>
inline bool operator()(T &&t, U &&u)

Boolean inequality operator, returns t != u

Public Members

EqualityOp op

Wrapped equality operator.