cub::AgentReduceByKeyPolicy#

template<int BlockThreads, int ItemsPerThread, BlockLoadAlgorithm LoadAlgorithm, CacheLoadModifier LoadModifier, BlockScanAlgorithm ScanAlgorithm, typename DelayConstructorT = detail::fixed_delay_constructor_t<350, 450>>
struct AgentReduceByKeyPolicy#

Parameterizable tuning policy type for AgentReduceByKey.

Template Parameters:
  • BlockThreads – Threads per thread block

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

  • LoadAlgorithm – The BlockLoad algorithm to use

  • LoadModifier – Cache load modifier for reading input elements

  • ScanAlgorithm – 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 = BlockThreads#

< Threads per thread block

Items per thread (per tile of input)

static constexpr int ITEMS_PER_THREAD = ItemsPerThread#

The BlockLoad algorithm to use.

static constexpr BlockLoadAlgorithm LOAD_ALGORITHM = LoadAlgorithm#

Cache load modifier for reading input elements.

static constexpr CacheLoadModifier LOAD_MODIFIER = LoadModifier#

The BlockScan algorithm to use.

static constexpr BlockScanAlgorithm SCAN_ALGORITHM = ScanAlgorithm#