OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
cub::ArgMin Struct Reference

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

Detailed Description

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

Definition at line 172 of file thread_operators.cuh.

Public Member Functions

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.
 

Member Function Documentation

◆ operator()()

template<typename T , typename OffsetT >
__host__ __device__ __forceinline__ KeyValuePair< OffsetT, T > cub::ArgMin::operator() ( const KeyValuePair< OffsetT, T > &  a,
const KeyValuePair< OffsetT, T > &  b 
) const
inline

Boolean min operator, preferring the item having the smaller offset in case of ties.

Definition at line 176 of file thread_operators.cuh.


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