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 | ( | T | inclusive, |
| T | exclusive, | ||
| T * | input, | ||
| T * | output, | ||
| ScanOp | scan_op, | ||
| Int2Type< LENGTH > | |||
| ) |
- Parameters
-
[in] input Input array [out] output Output array (may be aliased to input)[in] scan_op Binary scan operator
◆ ThreadScanInclusive()
template<int LENGTH, typename T , typename ScanOp >
| __device__ __forceinline__ T hipcub::internal::ThreadScanInclusive | ( | T | inclusive, |
| T * | input, | ||
| T * | output, | ||
| ScanOp | scan_op, | ||
| Int2Type< LENGTH > | |||
| ) |
- Parameters
-
[in] input Input array [out] output Output array (may be aliased to input)[in] scan_op Binary scan operator