UtilModule

UtilModule#

hipCUB: UtilModule
UtilModule

Sequential prefix scan over statically-sized array types

template<int LENGTH, typename T , typename ScanOp >
__device__ __forceinline__ T hipcub::internal::ThreadScanExclusive (T inclusive, T exclusive, T *input, T *output, ScanOp scan_op, Int2Type< LENGTH >)
 
template<int LENGTH, typename T , typename ScanOp >
__device__ __forceinline__ T hipcub::internal::ThreadScanInclusive (T inclusive, T *input, T *output, ScanOp scan_op, Int2Type< LENGTH >)
 

Detailed Description

Function Documentation

◆ ThreadScanExclusive()

template<int LENGTH, typename T , typename ScanOp >
__device__ __forceinline__ T hipcub::internal::ThreadScanExclusive ( inclusive,
exclusive,
T *  input,
T *  output,
ScanOp  scan_op,
Int2Type< LENGTH >   
)
Parameters
[in]inputInput array
[out]outputOutput array (may be aliased to input)
[in]scan_opBinary scan operator

◆ ThreadScanInclusive()

template<int LENGTH, typename T , typename ScanOp >
__device__ __forceinline__ T hipcub::internal::ThreadScanInclusive ( inclusive,
T *  input,
T *  output,
ScanOp  scan_op,
Int2Type< LENGTH >   
)
Parameters
[in]inputInput array
[out]outputOutput array (may be aliased to input)
[in]scan_opBinary scan operator