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

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

#include <device_adjacent_difference_config.hpp>

Inheritance diagram for adjacent_difference_config< BlockSize, ItemsPerThread, LoadMethod, StoreMethod, SizeLimit >:
Inheritance graph
[legend]
Collaboration diagram for adjacent_difference_config< BlockSize, ItemsPerThread, LoadMethod, StoreMethod, SizeLimit >:
Collaboration graph
[legend]

Static Public Attributes

static constexpr block_load_method load_method = LoadMethod
 input values are loaded using this method
 
static constexpr block_store_method store_method = StoreMethod
 input values are stored using this method
 
- Static Public Attributes inherited from kernel_config< BlockSize, ItemsPerThread, SizeLimit >
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, block_load_method LoadMethod = block_load_method::block_load_transpose, block_store_method StoreMethod = block_store_method::block_store_transpose, unsigned int SizeLimit = ROCPRIM_GRID_SIZE_LIMIT>
struct adjacent_difference_config< BlockSize, ItemsPerThread, LoadMethod, StoreMethod, SizeLimit >

Configuration of device-level adjacent_difference primitives.

Template Parameters
BlockSize- number of threads in a block.
ItemsPerThread- number of items processed by each thread
LoadMethod- method for loading input values
StoreMethod- method for storing values
SizeLimit- limit on the number of items for a single adjacent_difference kernel launch. Larger input sizes will be broken up to multiple kernel launches.

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