cub::ScanLookaheadPolicy#
-
struct ScanLookaheadPolicy#
The tuning policy for the lookahead scan algorithm in DeviceScan.
Public Functions
-
inline constexpr int tile_size() const noexcept#
- inline friend ::std::ostream &operator<<(
- ::std::ostream &os,
- const ScanLookaheadPolicy &p
Public Members
-
int reduce_and_scan_warps#
Number of warps used for reduction and scanning.
-
int items_per_thread#
Number of items processed per reduction and scanning thread.
-
int lookahead_items_per_thread#
Number of lookahead items per thread in the lookback warp.
-
int lookahead_stages = 2#
Number of pipeline stages for the lookahead squad.
-
int block_idx_stages = -1#
Number of pipeline stages for stealing block indices.
Friends
- inline friend constexpr bool operator==(
- const ScanLookaheadPolicy &lhs,
- const ScanLookaheadPolicy &rhs
- inline friend constexpr bool operator!=(
- const ScanLookaheadPolicy &lhs,
- const ScanLookaheadPolicy &rhs
-
inline constexpr int tile_size() const noexcept#