ARTS  2.0.49
arts_omp.h
Go to the documentation of this file.
1 /* Copyright (C) 2008 Stefan Buehler <sbuehler(at)ltu.se>
2 
3  This program is free software; you can redistribute it and/or
4  modify it under the terms of the GNU General Public License as
5  published by the Free Software Foundation; either version 2 of the
6  License, or (at your option) any later version.
7 
8  This program is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  GNU General Public License for more details.
12 
13  You should have received a copy of the GNU General Public License
14  along with this program; if not, write to the Free Software
15  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
16  USA. */
17 
34 #ifndef arts_omp_h
35 #define arts_omp_h
36 
37 #ifdef _OPENMP
38 #include <omp.h>
39 #endif
40 
42 
44 
46 
48 
49 void arts_omp_set_nested(int i);
50 
51 void arts_omp_set_dynamic(int i);
52 
53 
54 #endif // arts_omp_h
arts_omp_get_thread_num
int arts_omp_get_thread_num()
Wrapper for omp_get_thread_num.
Definition: arts_omp.cc:83
arts_omp_in_parallel
bool arts_omp_in_parallel()
Wrapper for omp_in_parallel.
Definition: arts_omp.cc:66
arts_omp_set_nested
void arts_omp_set_nested(int i)
Wrapper for omp_set_nested.
Definition: arts_omp.cc:124
arts_omp_set_dynamic
void arts_omp_set_dynamic(int i)
Wrapper for omp_set_dynamic.
Definition: arts_omp.cc:146
arts_omp_get_max_threads
int arts_omp_get_max_threads()
Wrapper for omp_get_max_threads.
Definition: arts_omp.cc:47
arts_omp_get_nested
int arts_omp_get_nested()
Wrapper for omp_get_nested.
Definition: arts_omp.cc:102