TRIQS/itertools 1.3.0
C++ range library
Loading...
Searching...
No Matches
omp_chunk.hpp File Reference
#include "./itertools.hpp"
#include <omp.h>

Detailed Description

Provides utilities to distribute a range across OMP threads.

Definition in file omp_chunk.hpp.

Go to the source code of this file.

Functions

template<typename R >
auto itertools::omp_chunk (R &&rg)
 Distribute a range as evenly as possible across all OMP threads.