rocPRIM
Public Types | Static Public Attributes | List of all members
detail::reduce_by_key::fallback_config< Key, Value > Struct Template Reference

Public Types

using type = reduce_by_key_config_v2< detail::limit_block_size< 256U, items_per_thread *size_memory_per_item, ROCPRIM_WARP_SIZE_64 >::value, items_per_thread, block_load_method::block_load_transpose, block_load_method::block_load_transpose, block_scan_algorithm::using_warp_scan, 2 >
 

Static Public Attributes

static constexpr unsigned int size_memory_per_item = std::max(sizeof(Key), sizeof(Value))
 
static constexpr unsigned int item_scale = static_cast<unsigned int>(ceiling_div(size_memory_per_item, 2 * sizeof(int)))
 
static constexpr unsigned int items_per_thread = std::max(1u, 15u / item_scale)
 

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