Raptor
A fast and space-efficient pre-filter
All Classes Namespaces Files Functions Variables Macros Pages Concepts
do_parallel.hpp File Reference

Provides raptor::do_parallel. More...

#include <algorithm>
#include <functional>
#include <future>
#include <omp.h>
#include <vector>
#include <hibf/misc/divide_and_ceil.hpp>
+ Include dependency graph for do_parallel.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename algorithm_t >
void raptor::do_parallel (algorithm_t &&worker, size_t const num_records, size_t const threads)
 
template<typename algorithm_t >
void raptor::do_parallel (algorithm_t &&worker, size_t const num_records, size_t const threads, bool const output_results)
 

Detailed Description

Provides raptor::do_parallel.

Author
Enrico Seiler <enrico.seiler AT fu-berlin.de>
Hide me