cub::internal::ThreadScanInclusive
Defined in cub/thread/thread_scan.cuh
-
template<int LENGTH, typename T, typename ScanOp>
T cub::internal::ThreadScanInclusive(T (&input)[LENGTH], T (&output)[LENGTH], ScanOp scan_op) Perform a sequential inclusive prefix scan over the statically-sized
input
array.The aggregate is returned.
- Template Parameters
LENGTH – [inferred] LengthT of
input
andoutput
arraysT – [inferred] The data type to be scanned.
ScanOp – [inferred] Binary scan operator type having member
T operator()(const T &a, const T &b)
- Parameters
input – [in] Input array
output – [out] Output array (may be aliased to
input
)scan_op – [in] Binary scan operator