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