cub::ReduceByKeyPolicy#

struct ReduceByKeyPolicy#

The tuning policy for DeviceReduce::ReduceByKey

Public Members

ReduceByKeyAlgorithm algorithm#

The reduce-by-key algorithm to use.

ReduceByKeyLookbackPolicy lookback#

The policy for the reduce-by-key algorithm based on decoupled-lookback.

Only used when algorithm is decoupled look-back <https://research.nvidia.com/publication/single-pass-parallel-prefix-scan-decoupled-look-back>_.

Friends

inline friend constexpr bool operator==(
const ReduceByKeyPolicy &lhs,
const ReduceByKeyPolicy &rhs
) noexcept#
inline friend constexpr bool operator!=(
const ReduceByKeyPolicy &lhs,
const ReduceByKeyPolicy &rhs
) noexcept#
template<class CharT, class Traits>
inline friend ::std::basic_ostream<CharT, Traits> &operator<<(
::std::basic_ostream<CharT, Traits> &os,
const ReduceByKeyPolicy &p
)#