WarpReduce< T, LOGICAL_WARP_THREADS, ARCH > Class Template Reference

WarpReduce&lt; T, LOGICAL_WARP_THREADS, ARCH &gt; Class Template Reference#

hipCUB: hipcub::WarpReduce< T, LOGICAL_WARP_THREADS, ARCH > Class Template Reference
hipcub::WarpReduce< T, LOGICAL_WARP_THREADS, ARCH > Class Template Reference
Inheritance diagram for hipcub::WarpReduce< T, LOGICAL_WARP_THREADS, ARCH >:

Public Types

using TempStorage = typename base_type::storage_type
 

Public Member Functions

__device__ WarpReduce (TempStorage &temp_storage)
 
__device__ T Sum (T input)
 
__device__ T Sum (T input, int valid_items)
 
template<typename FlagT >
__device__ T HeadSegmentedSum (T input, FlagT head_flag)
 
template<typename FlagT >
__device__ T TailSegmentedSum (T input, FlagT tail_flag)
 
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<typename ReduceOp , typename FlagT >
__device__ T HeadSegmentedReduce (T input, FlagT head_flag, ReduceOp reduce_op)
 
template<typename ReduceOp , typename FlagT >
__device__ T TailSegmentedReduce (T input, FlagT tail_flag, 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.4.3/hipcub/include/hipcub/backend/rocprim/warp/warp_reduce.hpp