cub::SegmentedReduceWarpReducePolicy#

struct SegmentedReduceWarpReducePolicy#

The tuning policy for small/medium segments in DeviceSegmentedReduce.

Public Functions

inline constexpr int items_per_tile() const#
inline constexpr int segments_per_block() const#
inline friend ::std::ostream &operator<<(
::std::ostream &os,
const SegmentedReduceWarpReducePolicy &p
)#

Public Members

int threads_per_block#

Number of threads in a CUDA block.

int threads_per_warp#

Number of threads per warp.

int items_per_thread#

Number of items processed per thread.

int vec_size#

Number of items per vectorized load.

CacheLoadModifier load_modifier#

The CacheLoadModifier used for loading items from global memory.

Friends

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