cub::ReduceByKeyLookbackPolicy#

struct ReduceByKeyLookbackPolicy#

The lookback tuning policy for DeviceReduce::ReduceByKey

Public Functions

inline friend ::std::ostream &operator<<(
::std::ostream &os,
const ReduceByKeyLookbackPolicy &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 the prefix scan.

LookbackDelayPolicy lookback_delay#

The LookbackDelayPolicy used for the lookback delay.

Friends

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