rocPRIM
Static Public Attributes | List of all members
DisabledWarpSortConfig Struct Reference

Indicates if the warp level sorting is disabled in the device segmented radix sort configuration. More...

#include <device_segmented_radix_sort_config.hpp>

Static Public Attributes

static constexpr unsigned int logical_warp_size_small = 1
 The number of threads in the logical warp in the small segment processing kernel.
 
static constexpr unsigned int items_per_thread_small = 1
 The number of items processed by a thread in the small segment processing kernel.
 
static constexpr unsigned int block_size_small = 1
 The number of threads per block in the small segment processing kernel.
 
static constexpr unsigned int partitioning_threshold = 0
 If the number of segments is at least partitioning_threshold, then the segments are partitioned into small and large segment groups, and each group is handled by a different, specialized kernel. More...
 
static constexpr bool enable_unpartitioned_warp_sort = false
 If set to true, warp sort can be used to sort the small segments, even if the total number of segments is below PartitioningThreshold. More...
 
static constexpr unsigned int logical_warp_size_medium = 1
 The number of threads in the logical warp in the medium segment processing kernel.
 
static constexpr unsigned int items_per_thread_medium = 1
 The number of items processed by a thread in the medium segment processing kernel.
 
static constexpr unsigned int block_size_medium = 1
 The number of threads per block in the medium segment processing kernel.
 

Detailed Description

Indicates if the warp level sorting is disabled in the device segmented radix sort configuration.

Member Data Documentation

◆ enable_unpartitioned_warp_sort

constexpr bool DisabledWarpSortConfig::enable_unpartitioned_warp_sort = false
static

If set to true, warp sort can be used to sort the small segments, even if the total number of segments is below PartitioningThreshold.

◆ partitioning_threshold

constexpr unsigned int DisabledWarpSortConfig::partitioning_threshold = 0
static

If the number of segments is at least partitioning_threshold, then the segments are partitioned into small and large segment groups, and each group is handled by a different, specialized kernel.


The documentation for this struct was generated from the following file: