cub::ScanPolicy#

struct ScanPolicy#

The tuning policy for all algorithms in DeviceScan.

Public Functions

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

Public Members

ScanAlgorithm algorithm#

The scan algorithm to use.

ScanLookbackPolicy lookback#

The look-back scan policy (used when algorithm is lookback, otherwise ignored)

ScanLookaheadPolicy lookahead#

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

Friends

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