#include <iostream>
#include "arts_omp.h"
Go to the source code of this file.
Functions | |
int | arts_omp_get_max_threads () |
Wrapper for omp_get_max_threads. | |
bool | arts_omp_in_parallel () |
Wrapper for omp_in_parallel. | |
int | arts_omp_get_thread_num () |
Wrapper for omp_get_thread_num. | |
int | arts_omp_get_nested () |
Wrapper for omp_get_nested. | |
void | arts_omp_set_nested (int i) |
Wrapper for omp_set_nested. |
All functions start with arts_omp. Otherwise, names are the same as the standard OMP function names.
Definition in file arts_omp.cc.
int arts_omp_get_max_threads | ( | ) |
Wrapper for omp_get_max_threads.
This wrapper works with and without OMP support.
Definition at line 51 of file arts_omp.cc.
Referenced by main().
int arts_omp_get_nested | ( | ) |
Wrapper for omp_get_nested.
This wrapper works with and without OMP support.
Definition at line 110 of file arts_omp.cc.
Referenced by abs_lookupCreate().
int arts_omp_get_thread_num | ( | ) |
Wrapper for omp_get_thread_num.
This wrapper works with and without OMP support.
Definition at line 91 of file arts_omp.cc.
bool arts_omp_in_parallel | ( | ) |
Wrapper for omp_in_parallel.
This wrapper works with and without OMP support.
Definition at line 70 of file arts_omp.cc.
void arts_omp_set_nested | ( | int | i | ) |
Wrapper for omp_set_nested.
This wrapper works with and without OMP support.
i | Turn on nested parallelism with 1, turn off with 0. |
Definition at line 132 of file arts_omp.cc.
Referenced by abs_lookupCreate().