blob: 80f053f5d61b4f5a735d1733d0302343fec46bc6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef PYTHONIC_OMP_IN_PARALLEL_HPP
#define PYTHONIC_OMP_IN_PARALLEL_HPP
#include "pythonic/include/omp/in_parallel.hpp"
#include <omp.h>
#include "pythonic/utils/functor.hpp"
PYTHONIC_NS_BEGIN
namespace omp
{
bool in_parallel()
{
return omp_in_parallel();
}
}
PYTHONIC_NS_END
#endif
|