blob: 0fc99b376b55a092d78d5da43bee3ecee34f2d5b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef PYTHONIC_INCLUDE_OMP_IN_PARALLEL_HPP
#define PYTHONIC_INCLUDE_OMP_IN_PARALLEL_HPP
#include <omp.h>
#include "pythonic/include/utils/functor.hpp"
PYTHONIC_NS_BEGIN
namespace omp
{
bool in_parallel();
DEFINE_FUNCTOR(pythonic::omp, in_parallel);
}
PYTHONIC_NS_END
#endif
|