subpar
Substitutable parallelization for C++ libraries
Loading...
Searching...
No Matches
Namespaces | Functions
simple.hpp File Reference

Parallelize individual tasks across workers. More...

#include <vector>
#include <stdexcept>
#include <thread>
#include <type_traits>

Go to the source code of this file.

Namespaces

namespace  subpar
 Substitutable parallelization functions.
 

Functions

template<bool nothrow_ = false, typename Task_ , class Run_ >
void subpar::parallelize_simple (Task_ num_tasks, Run_ run_task)
 Parallelize individual tasks across workers.
 

Detailed Description

Parallelize individual tasks across workers.