OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
cub::AgentReducePolicy< _BLOCK_THREADS, _ITEMS_PER_THREAD, _VECTOR_LOAD_LENGTH, _BLOCK_ALGORITHM, _LOAD_MODIFIER > Struct Template Reference

< Cache load modifier for reading input elements More...

Detailed Description

template<int _BLOCK_THREADS, int _ITEMS_PER_THREAD, int _VECTOR_LOAD_LENGTH, BlockReduceAlgorithm _BLOCK_ALGORITHM, CacheLoadModifier _LOAD_MODIFIER>
struct cub::AgentReducePolicy< _BLOCK_THREADS, _ITEMS_PER_THREAD, _VECTOR_LOAD_LENGTH, _BLOCK_ALGORITHM, _LOAD_MODIFIER >

< Cache load modifier for reading input elements

Parameterizable tuning policy type for AgentReduce

Definition at line 67 of file agent_reduce.cuh.

Public Types

enum  { BLOCK_THREADS = _BLOCK_THREADS , ITEMS_PER_THREAD = _ITEMS_PER_THREAD , VECTOR_LOAD_LENGTH = _VECTOR_LOAD_LENGTH }
 

Static Public Attributes

static const BlockReduceAlgorithm BLOCK_ALGORITHM = _BLOCK_ALGORITHM
 Cooperative block-wide reduction algorithm to use.
 
static const CacheLoadModifier LOAD_MODIFIER = _LOAD_MODIFIER
 Cache load modifier for reading input elements.
 

Member Enumeration Documentation

◆ anonymous enum

template<int _BLOCK_THREADS, int _ITEMS_PER_THREAD, int _VECTOR_LOAD_LENGTH, BlockReduceAlgorithm _BLOCK_ALGORITHM, CacheLoadModifier _LOAD_MODIFIER>
anonymous enum
Enumerator
BLOCK_THREADS 

Threads per thread block.

ITEMS_PER_THREAD 

Items per thread (per tile of input)

VECTOR_LOAD_LENGTH 

Number of items per vectorized load.

Definition at line 69 of file agent_reduce.cuh.

Field Documentation

◆ BLOCK_ALGORITHM

template<int _BLOCK_THREADS, int _ITEMS_PER_THREAD, int _VECTOR_LOAD_LENGTH, BlockReduceAlgorithm _BLOCK_ALGORITHM, CacheLoadModifier _LOAD_MODIFIER>
const BlockReduceAlgorithm cub::AgentReducePolicy< _BLOCK_THREADS, _ITEMS_PER_THREAD, _VECTOR_LOAD_LENGTH, _BLOCK_ALGORITHM, _LOAD_MODIFIER >::BLOCK_ALGORITHM = _BLOCK_ALGORITHM
static

Cooperative block-wide reduction algorithm to use.

Definition at line 76 of file agent_reduce.cuh.

◆ LOAD_MODIFIER

template<int _BLOCK_THREADS, int _ITEMS_PER_THREAD, int _VECTOR_LOAD_LENGTH, BlockReduceAlgorithm _BLOCK_ALGORITHM, CacheLoadModifier _LOAD_MODIFIER>
const CacheLoadModifier cub::AgentReducePolicy< _BLOCK_THREADS, _ITEMS_PER_THREAD, _VECTOR_LOAD_LENGTH, _BLOCK_ALGORITHM, _LOAD_MODIFIER >::LOAD_MODIFIER = _LOAD_MODIFIER
static

Cache load modifier for reading input elements.

Definition at line 77 of file agent_reduce.cuh.


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