#include "igl_inline.h"
#include <functional>
#include "default_num_threads.h"
#include <cmath>
#include <cassert>
#include <thread>
#include <vector>
#include <algorithm>
Go to the source code of this file.
|
template<typename Index , typename FunctionType > |
bool | igl::parallel_for (const Index loop_size, const FunctionType &func, const size_t min_parallel=0) |
| Functional implementation of a basic, open-mp style, parallel for loop.
|
|
template<typename Index , typename PrepFunctionType , typename FunctionType , typename AccumFunctionType > |
bool | igl::parallel_for (const Index loop_size, const PrepFunctionType &prep_func, const FunctionType &func, const AccumFunctionType &accum_func, const size_t min_parallel=0) |
| Functional implementation of an open-mp style, parallel for loop with accumulation.
|
|