vSMC
vSMC: Scalable Monte Carlo
Namespaces | Functions
parallel_for.hpp File Reference
#include <vsmc/internal/common.hpp>
#include <vsmc/thread/blocked_range.hpp>
#include <vsmc/thread/thread_guard.hpp>
#include <vsmc/thread/thread_num.hpp>
#include <thread>

Go to the source code of this file.

Namespaces

 vsmc
 

Functions

template<typename Range , typename WorkType >
void vsmc::parallel_for (const Range &range, WorkType &&work)
 Parallel for using std::thread. More...