|
CUB
|
Arg max functor (keeps the value and offset of the first occurrence of the l item)
Definition at line 137 of file thread_operators.cuh.
Public Methods | |
| template<typename T , typename Offset > | |
| __host__ __device__ __forceinline__ ItemOffsetPair < T, Offset > | operator() (const ItemOffsetPair< T, Offset > &a, const ItemOffsetPair< T, Offset > &b) const |
| Boolean max operator, preferring the item having the smaller offset in case of ties. | |
1.8.4