cub::AgentSelectIfPolicy#

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 AgentSelectIfPolicy#

Parameterizable tuning policy type for AgentSelectIf.

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 Types

enum [anonymous]#

Values:

enumerator BLOCK_THREADS = _BLOCK_THREADS#

Threads per thread block.

enumerator ITEMS_PER_THREAD = _ITEMS_PER_THREAD#

Items per thread (per tile of input)

Public Static Attributes

static constexpr BlockLoadAlgorithm LOAD_ALGORITHM = _LOAD_ALGORITHM#

The BlockLoad algorithm to use.

static constexpr CacheLoadModifier LOAD_MODIFIER = _LOAD_MODIFIER#

Cache load modifier for reading input elements.

static constexpr BlockScanAlgorithm SCAN_ALGORITHM = _SCAN_ALGORITHM#

The BlockScan algorithm to use.