GrPPI  0.2
Generic and Reusable Parallel Pattern Interface
Namespaces | Functions
omp/stream_reduce.h File Reference
#include "parallel_execution_omp.h"
#include "reduce.h"
Include dependency graph for omp/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 (parallel_execution_omp &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 OpenMP parallel execution. More...