cub::RleEncodePolicy#

struct RleEncodePolicy#

The tuning policy for all algorithms in DeviceRunLengthEncode.

Public Members

RleAlgorithm algorithm#

The RLE-encode algorithm to use.

RleLookbackPolicy lookback#

The lookback policy; must be valid even when algorithm is lookahead, because it also drives the streaming fallback (device-side callers and non-viable types)

RleLookaheadPolicy lookahead#

The lookahead policy (used when algorithm is lookahead, otherwise ignored)

Friends

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