cub::SegmentedSortPolicy#

struct SegmentedSortPolicy#

Top-level tuning policy for DeviceSegmentedSort.

Public Functions

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

Public Members

SegmentedSortRadixSortPolicy large_segment#

Policy used for segments sorted via radix sort.

SegmentedSortSubWarpMergeSortPolicy medium_segment#

Policy used for medium-sized segments.

SegmentedSortSubWarpMergeSortPolicy small_segment#

Policy used for the smallest segments.

int partitioning_threshold#

Number of segments above which different algorithms will be used for different size buckets.

Friends

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