GrPPI  0.2
Generic and Reusable Parallel Pattern Interface
Namespaces | Functions
seq/stream_reduce.h File Reference
#include "sequential_execution.h"
#include "reduce.h"
#include <vector>
Include dependency graph for seq/stream_reduce.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 grppi
 

Functions

template<typename Identity , typename Combiner , typename Consumer , typename Generator >
void grppi::stream_reduce (sequential_execution &ex, int window_size, int offset, Identity identity, Generator &&generate_op, Combiner &&combine_op, Consumer &&consume_op)
 Invoke Stream reduction pattern on a stream with sequential execution. More...