cub::SegmentedSortSubWarpMergeSortPolicy#
-
struct SegmentedSortSubWarpMergeSortPolicy#
Policy for the sub-warp merge sort step in DeviceSegmentedSort (small/medium segments).
Public Functions
-
inline constexpr int segments_per_block() const noexcept#
-
inline constexpr int items_per_tile() const noexcept#
- inline friend ::std::ostream &operator<<(
- ::std::ostream &os,
- const SegmentedSortSubWarpMergeSortPolicy &p
Public Members
-
int threads_per_block#
Number of threads in a CUDA block.
-
int threads_per_warp#
Number of threads assigned to sort a single segment.
-
int items_per_thread#
Number of items processed per thread.
-
WarpLoadAlgorithm load_algorithm#
The WarpLoadAlgorithm used for loading items from global memory.
-
CacheLoadModifier load_modifier#
The CacheLoadModifier used for loading items from global memory.
-
WarpStoreAlgorithm store_algorithm#
The WarpStoreAlgorithm used for storing items to global memory.
Friends
- inline friend constexpr bool operator==(
- const SegmentedSortSubWarpMergeSortPolicy &lhs,
- const SegmentedSortSubWarpMergeSortPolicy &rhs
- inline friend constexpr bool operator!=(
- const SegmentedSortSubWarpMergeSortPolicy &lhs,
- const SegmentedSortSubWarpMergeSortPolicy &rhs
-
inline constexpr int segments_per_block() const noexcept#