This operation is used in optimized coarsened scans. It computes scan of an input, given an offset v
and an input values
and returns the result of computation.
More...
|
| offset_scan_op (Op const &op) |
|
template<typename Value , typename Values > |
result_type | operator() (Value const v, Values const &values) const |
|
|
using | value_type = typename Op::result_type |
|
using | result_type = std::vector< value_type > |
|
template<typename Op, typename Alg>
struct stapl::skeletons::scan_helpers::offset_scan_op< Op, Alg >
This operation is used in optimized coarsened scans. It computes scan of an input, given an offset v
and an input values
and returns the result of computation.
- Template Parameters
-
Op | the operation to be used for computing scan |
Alg | whether this is an inclusive or exclusive scan |
The documentation for this struct was generated from the following file:
- transformations/coarse/scan.hpp