GrPPI  0.2
Generic and Reusable Parallel Pattern Interface
Namespaces | Functions
native/divideconquer.h File Reference
#include "parallel_execution_native.h"
#include <thread>
#include <atomic>
Include dependency graph for native/divideconquer.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 Input , typename Divider , typename Solver , typename Combiner >
std::result_of< Solver(Input)>::type grppi::internal_divide_conquer (parallel_execution_native &p, Input &input, Divider &&divide_op, Solver &&solve_op, Combiner &&combine_op, std::atomic< int > &num_threads)
 
template<typename Input , typename Divider , typename Solver , typename Combiner >
std::result_of< Solver(Input)>::type grppi::divide_conquer (parallel_execution_native &ex, Input &problem, Divider &&divide_op, Solver &&solve_op, Combiner &&combine_op)
 Invoke Divide/conquer pattern with native parallel execution. More...