cub::ReducePolicy#

struct ReducePolicy#

The tuning policy for all algorithms in DeviceReduce, except ReduceByKey

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#
template<class CharT, class Traits>
inline friend ::std::basic_ostream<CharT, Traits> &operator<<(
::std::basic_ostream<CharT, Traits> &os,
const ReducePolicy &p
)#