rocPRIM
Static Public Attributes | List of all members
kernel_config< BlockSize, ItemsPerThread, SizeLimit > Struct Template Reference

Configuration of particular kernels launched by device-level operation. More...

#include <config_types.hpp>

Inheritance diagram for kernel_config< BlockSize, ItemsPerThread, SizeLimit >:
Inheritance graph
[legend]
Collaboration diagram for kernel_config< BlockSize, ItemsPerThread, 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 unsigned int size_limit = SizeLimit
 Number of items processed by a single kernel launch.
 

Additional Inherited Members

- Public Attributes inherited from detail::kernel_config_params
unsigned int block_size = 64
 Number of threads in a block.
 
unsigned int items_per_thread = 1
 Number of items processed by each thread.
 
unsigned int size_limit = ROCPRIM_GRID_SIZE_LIMIT
 Number of items processed by a single kernel launch.
 

Detailed Description

template<unsigned int BlockSize, unsigned int ItemsPerThread, unsigned int SizeLimit = ROCPRIM_GRID_SIZE_LIMIT>
struct kernel_config< BlockSize, ItemsPerThread, SizeLimit >

Configuration of particular kernels launched by device-level operation.

Template Parameters
BlockSize- number of threads in a block.
ItemsPerThread- number of items processed by each thread.

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