cub::ReducePolicy#

struct ReducePolicy#

The tuning policy for all algorithms in DeviceReduce, except ReduceByKey

Public Functions

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

Public Members

ReducePassPolicy multi_tile#

Policy used for the multi-tile (first) pass.

ReducePassPolicy single_tile#

Policy used for the single-tile pass.

Used as second pass after the multi-tile pass in some cases, or when the problem size fits into a single tile.

Friends

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