FreeTensor
Loading...
Searching...
No Matches
Namespaces | Functions
omp_utils.h File Reference
#include <atomic>
#include <concepts>
#include <exception>
#include <functional>
#include <omp.h>
Include dependency graph for omp_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  freetensor
 

Functions

template<std::integral T>
void freetensor::exceptSafeParallelFor (T begin, T end, T step, const std::function< void(T)> &body, omp_sched_t schedKind, int schedChunkSize=0)