STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::skeletons::scan_helpers::offset_scan_op< Op, Alg > Struct Template Reference

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...

Public Member Functions

 offset_scan_op (Op const &op)
 
template<typename Value , typename Values >
result_type operator() (Value const v, Values const &values) const
 

Public Types

using value_type = typename Op::result_type
 
using result_type = std::vector< value_type >
 

Detailed Description

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
Opthe operation to be used for computing scan
Algwhether this is an inclusive or exclusive scan

The documentation for this struct was generated from the following file: