cub::RadixSortDownsweepPolicy#

struct RadixSortDownsweepPolicy#

The tuning policy for the downsweep pass (and single-tile path) of DeviceRadixSort.

Public Functions

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

Public Members

int threads_per_block#

Number of threads in a CUDA block.

int items_per_thread#

Number of items processed per thread.

BlockLoadAlgorithm load_algorithm#

The BlockLoadAlgorithm used for loading items from global memory.

CacheLoadModifier load_modifier#

The CacheLoadModifier used for loading items from global memory.

RadixRankAlgorithm rank_algorithm#

The RadixRankAlgorithm used for ranking keys.

BlockScanAlgorithm scan_algorithm#

The BlockScanAlgorithm used for scanning within a thread block.

int radix_bits#

Number of bits per radix digit.

Friends

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