cub::RadixSortOnesweepPolicy#
-
struct RadixSortOnesweepPolicy#
The tuning policy for the onesweep pass of DeviceRadixSort.
Public Functions
- inline friend ::std::ostream &operator<<(
- ::std::ostream &os,
- const RadixSortOnesweepPolicy &p
Public Members
-
int threads_per_block#
Number of threads in a CUDA block.
-
int items_per_thread#
Number of items processed per thread.
-
RadixSortStoreAlgorithm store_algorithm#
The RadixSortStoreAlgorithm used for writing results.
-
RadixRankAlgorithm rank_algorithm#
The RadixRankAlgorithm used for ranking keys.
-
BlockScanAlgorithm scan_algorithm#
The BlockScanAlgorithm used for scanning within a thread block.
-
int rank_private_partitions#
The number of private histogram partitions in shared memory each histogram is split during the ranking phase to reduce the contention of atomic operations.
Ignored if
rank_algorithmis not one of RADIX_RANK_MATCH_EARLY_COUNTS_*
-
int radix_bits#
Number of bits per radix digit.
Friends
- inline friend constexpr bool operator==(
- const RadixSortOnesweepPolicy &lhs,
- const RadixSortOnesweepPolicy &rhs
- inline friend constexpr bool operator!=(
- const RadixSortOnesweepPolicy &lhs,
- const RadixSortOnesweepPolicy &rhs