BlockReduce< T, BLOCK_DIM_X, ALGORITHM, BLOCK_DIM_Y, BLOCK_DIM_Z, ARCH > Class Template Reference

BlockReduce&lt; T, BLOCK_DIM_X, ALGORITHM, BLOCK_DIM_Y, BLOCK_DIM_Z, ARCH &gt; Class Template Reference#

hipCUB: BlockReduce< T, BLOCK_DIM_X, ALGORITHM, BLOCK_DIM_Y, BLOCK_DIM_Z, ARCH > Class Template Reference
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 >:

Public Types

using TempStorage = typename base_type::storage_type
 

Public Member Functions

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

The documentation for this class was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipcub/checkouts/docs-5.7.1/hipcub/include/hipcub/backend/rocprim/block/block_reduce.hpp