rocPRIM
Static Public Attributes | List of all members
select_config< BlockSize, ItemsPerThread, KeyBlockLoadMethod, ValueBlockLoadMethod, FlagBlockLoadMethod, BlockScanMethod, SizeLimit > Struct Template Reference

Configuration of device-level select operation. More...

#include <device_select_config.hpp>

Static Public Attributes

static constexpr unsigned int block_size = BlockSize
 Number of threads in a block.
 
static constexpr unsigned int items_per_thread = ItemsPerThread
 Number of items processed by each thread.
 
static constexpr block_load_method key_block_load_method = KeyBlockLoadMethod
 Method for loading input keys.
 
static constexpr block_load_method value_block_load_method = ValueBlockLoadMethod
 Method for loading input values.
 
static constexpr block_load_method flag_block_load_method = FlagBlockLoadMethod
 Method for loading flag values.
 
static constexpr block_scan_algorithm block_scan_method = BlockScanMethod
 Algorithm for block scan.
 
static constexpr unsigned int size_limit = SizeLimit
 Limit on the number of items for a single select kernel launch.
 

Detailed Description

template<unsigned int BlockSize, unsigned int ItemsPerThread, ::rocprim::block_load_method KeyBlockLoadMethod, ::rocprim::block_load_method ValueBlockLoadMethod, ::rocprim::block_load_method FlagBlockLoadMethod, ::rocprim::block_scan_algorithm BlockScanMethod, unsigned int SizeLimit = ROCPRIM_GRID_SIZE_LIMIT>
struct select_config< BlockSize, ItemsPerThread, KeyBlockLoadMethod, ValueBlockLoadMethod, FlagBlockLoadMethod, BlockScanMethod, SizeLimit >

Configuration of device-level select operation.

Template Parameters
BlockSize- number of threads in a block.
ItemsPerThread- number of items processed by each thread.
KeyBlockLoadMethod- method for loading input keys.
ValueBlockLoadMethod- method for loading input values.
FlagBlockLoadMethod- method for loading flag values.
BlockScanMethod- algorithm for block scan.
SizeLimit- limit on the number of items for a single select kernel launch.

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