rocPRIM
List of all members
reduce_config< BlockSize, ItemsPerThread, BlockReduceMethod, SizeLimit > Struct Template Reference

Configuration of device-level reduce primitives. More...

#include <device_config_helper.hpp>

Inheritance diagram for reduce_config< BlockSize, ItemsPerThread, BlockReduceMethod, SizeLimit >:
Inheritance graph
[legend]
Collaboration diagram for reduce_config< BlockSize, ItemsPerThread, BlockReduceMethod, SizeLimit >:
Collaboration graph
[legend]

Detailed Description

template<unsigned int BlockSize = 256, unsigned int ItemsPerThread = 8, ::rocprim::block_reduce_algorithm BlockReduceMethod = ::rocprim::block_reduce_algorithm::default_algorithm, unsigned int SizeLimit = ROCPRIM_GRID_SIZE_LIMIT>
struct reduce_config< BlockSize, ItemsPerThread, BlockReduceMethod, SizeLimit >

Configuration of device-level reduce primitives.

Template Parameters
BlockSize- number of threads in a block.
ItemsPerThread- number of items processed by each thread.
BlockReduceMethod- algorithm for block reduce.
SizeLimit- limit on the number of items reduced by a single launch

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