cub::AgentReduceByKeyPolicy#

template<int _BLOCK_THREADS, int _ITEMS_PER_THREAD, BlockLoadAlgorithm _LOAD_ALGORITHM, CacheLoadModifier _LOAD_MODIFIER, BlockScanAlgorithm _SCAN_ALGORITHM, typename DelayConstructorT = detail::fixed_delay_constructor_t<350, 450>>
struct AgentReduceByKeyPolicy#

Parameterizable tuning policy type for AgentReduceByKey.

Template Parameters:
  • _BLOCK_THREADS – Threads per thread block

  • _ITEMS_PER_THREAD – Items per thread (per tile of input)

  • _LOAD_ALGORITHM – The BlockLoad algorithm to use

  • _LOAD_MODIFIER – Cache load modifier for reading input elements

  • _SCAN_ALGORITHM – The BlockScan algorithm to use

  • DelayConstructorT – Implementation detail, do not specify directly, requirements on the content of this type are subject to breaking change.

Public Static Attributes

static constexpr int BLOCK_THREADS = _BLOCK_THREADS#

< Threads per thread block

Items per thread (per tile of input)

static constexpr int ITEMS_PER_THREAD = _ITEMS_PER_THREAD#

The BlockLoad algorithm to use.

static constexpr BlockLoadAlgorithm LOAD_ALGORITHM = _LOAD_ALGORITHM#

Cache load modifier for reading input elements.

static constexpr CacheLoadModifier LOAD_MODIFIER = _LOAD_MODIFIER#

The BlockScan algorithm to use.

static constexpr BlockScanAlgorithm SCAN_ALGORITHM = _SCAN_ALGORITHM#