blob: 731da8f7863650aa1b17dd6d6960302b207f01fe (
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 "pythonic/utils/functor.hpp"
#include <omp.h>
PYTHONIC_NS_BEGIN
namespace omp
{
bool in_parallel()
{
return omp_in_parallel();
}
} // namespace omp
PYTHONIC_NS_END
#endif
|