rocPRIM
Static Public Attributes | List of all members
scan_by_key_config_v2< BlockSize, ItemsPerThread, BlockLoadMethod, BlockStoreMethod, BlockScanMethod, SizeLimit > Struct Template Reference

Configuration of device-level scan-by-key operation. More...

#include <device_config_helper.hpp>

Inheritance diagram for scan_by_key_config_v2< BlockSize, ItemsPerThread, BlockLoadMethod, BlockStoreMethod, BlockScanMethod, SizeLimit >:
Inheritance graph
[legend]
Collaboration diagram for scan_by_key_config_v2< BlockSize, ItemsPerThread, BlockLoadMethod, BlockStoreMethod, BlockScanMethod, SizeLimit >:
Collaboration graph
[legend]

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 ::rocprim::block_load_method block_load_method = BlockLoadMethod
 Method for loading input values.
 
static constexpr ::rocprim::block_store_method block_store_method = BlockStoreMethod
 Method for storing values.
 
static constexpr ::rocprim::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 scan kernel launch.
 

Detailed Description

template<unsigned int BlockSize, unsigned int ItemsPerThread, ::rocprim::block_load_method BlockLoadMethod, ::rocprim::block_store_method BlockStoreMethod, ::rocprim::block_scan_algorithm BlockScanMethod, unsigned int SizeLimit = ROCPRIM_GRID_SIZE_LIMIT>
struct scan_by_key_config_v2< BlockSize, ItemsPerThread, BlockLoadMethod, BlockStoreMethod, BlockScanMethod, SizeLimit >

Configuration of device-level scan-by-key operation.

Template Parameters
BlockSize- number of threads in a block.
ItemsPerThread- number of items processed by each thread.
BlockLoadMethod- method for loading input values.
StoreLoadMethod- method for storing values.
BlockScanMethod- algorithm for block scan.
SizeLimit- limit on the number of items for a single scan kernel launch.

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