hipCUB
Public Types | Public Member Functions | List of all members
BlockReduce< T, BLOCK_DIM_X, ALGORITHM, BLOCK_DIM_Y, BLOCK_DIM_Z, ARCH > Class Template Reference
Inheritance diagram for BlockReduce< T, BLOCK_DIM_X, ALGORITHM, BLOCK_DIM_Y, BLOCK_DIM_Z, ARCH >:
Inheritance graph
[legend]
Collaboration diagram for BlockReduce< T, BLOCK_DIM_X, ALGORITHM, BLOCK_DIM_Y, BLOCK_DIM_Z, ARCH >:
Collaboration graph
[legend]

Public Types

using TempStorage = typename base_type::storage_type
 

Public Member Functions

HIPCUB_DEVICE BlockReduce (TempStorage &temp_storage)
 
HIPCUB_DEVICE T Sum (T input)
 
HIPCUB_DEVICE T Sum (T input, int valid_items)
 
template<int ITEMS_PER_THREAD>
HIPCUB_DEVICE T Sum (T(&input)[ITEMS_PER_THREAD])
 
template<typename ReduceOp >
HIPCUB_DEVICE T Reduce (T input, ReduceOp reduce_op)
 
template<typename ReduceOp >
HIPCUB_DEVICE T Reduce (T input, ReduceOp reduce_op, int valid_items)
 
template<int ITEMS_PER_THREAD, typename ReduceOp >
HIPCUB_DEVICE T Reduce (T(&input)[ITEMS_PER_THREAD], ReduceOp reduce_op)
 

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