cub::UniqueByKeyPolicy#

struct UniqueByKeyPolicy#

The tuning policy for all algorithms in DeviceSelect that operate UniqueByKey.

Public Functions

inline friend ::std::ostream &operator<<(
::std::ostream &os,
const UniqueByKeyPolicy &p
)#

Public Members

int threads_per_block#

Number of threads in a CUDA block.

int items_per_thread#

Number of items processed per thread.

BlockLoadAlgorithm load_algorithm#

The BlockLoadAlgorithm used for loading items from global memory.

CacheLoadModifier load_modifier#

The CacheLoadModifier used for loading items from global memory.

BlockScanAlgorithm scan_algorithm#

The BlockScanAlgorithm used for scanning.

LookbackDelayPolicy lookback_delay#

The policy configuring the delay used in decoupled lookback.

Friends

inline friend constexpr bool operator==(
const UniqueByKeyPolicy &lhs,
const UniqueByKeyPolicy &rhs
) noexcept#
inline friend constexpr bool operator!=(
const UniqueByKeyPolicy &lhs,
const UniqueByKeyPolicy &rhs
) noexcept#