mioomp.h File Reference
|
CPP API
|
mioomp.h File Reference
#include "memilio/config.h"
Include dependency graph for mioomp.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
| mio | |
| A collection of classes to simplify handling of matrix shapes in meta programming. | |
| mio::omp | |
Macros | |
| #define | PRAGMA_OMP(x) |
| Macro for OpenMP directives. More... | |
Functions | |
| int | mio::omp::get_max_threads () |
| Get an upper bound to the number of OpenMP threads. When OpenMP is disabled, this is always 1. More... | |
| int | mio::omp::get_num_threads () |
| Get the current number of OpenMP threads. When OpenMP is disabled, this is always 1. More... | |
| int | mio::omp::get_thread_id () |
| Get an id for the current OpenMP thread. When OpenMP is disabled, this is always 0. More... | |
Macro Definition Documentation
◆ PRAGMA_OMP
| #define PRAGMA_OMP | ( | x | ) |
Macro for OpenMP directives.
Evaluates to nothing because OpenMP is disabled. Unknown pragmas are ignored by the compiler, but the compiler emits warnings, so we remove the #pragma completely.
Generated by