cub::ReducePassPolicy#

struct ReducePassPolicy#

The tuning policy for a single pass (multi-tile or single-tile) of all reduction algorithms in DeviceReduce.

Public Functions

inline friend ::std::ostream &operator<<(
::std::ostream &os,
const ReducePassPolicy &p
)#

Public Members

int threads_per_block#

Number of threads in a CUDA block.

int items_per_thread#

Number of items processed per thread.

int vec_size#

Number of items per vectorized load.

BlockReduceAlgorithm reduce_algorithm#

The BlockReduceAlgorithm to use.

CacheLoadModifier load_modifier#

The CacheLoadModifier used for loading items from global memory.

Friends

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