Base class for OpenMP functionality.
More...
#include <omp.h>
Base class for OpenMP functionality.
Implements dummy calls if the compiler does not support OpenMP
Definition at line 34 of file omp.h.
static unsigned lunchbox::OMP::getNThreads |
( |
| ) |
|
|
static |
- Returns
- the number of threads used in a parallel region.
- Version
- 1.0
static int lunchbox::OMP::getThreadNum |
( |
| ) |
|
|
static |
- Returns
- the id of the current OpenMP thread, or 0 if OpenMP is not used.
- Version
- 1.11
static void lunchbox::OMP::setNThreads |
( |
unsigned |
nThreads | ) |
|
|
static |
Set the maximum number of threads.
- Version
- 1.12
The documentation for this class was generated from the following file: