CUB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups
Public Methods | List of all members
cub::ArgMin Struct Reference

Detailed description

Arg min functor (keeps the value and offset of the first occurrence of the smallest item)

Public Methods

template<typename T , typename OffsetT >
__host__ __device__
__forceinline__ KeyValuePair
< OffsetT, T > 
operator() (const KeyValuePair< OffsetT, T > &a, const KeyValuePair< OffsetT, T > &b) const
 Boolean min operator, preferring the item having the smaller offset in case of ties.
 

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