cub::RleEncodePolicy#
-
struct RleEncodePolicy#
The tuning policy for all algorithms in DeviceRunLengthEncode.
Public Functions
- inline friend ::std::ostream &operator<<(
- ::std::ostream &os,
- const RleEncodePolicy &p
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
- inline friend constexpr bool operator!=(
- const RleEncodePolicy &lhs,
- const RleEncodePolicy &rhs