omp Namespace Reference
|
CPP API
|
mio::omp Namespace Reference
Functions | |
| int | get_max_threads () |
| Get an upper bound to the number of OpenMP threads. When OpenMP is disabled, this is always 1. More... | |
| int | get_num_threads () |
| Get the current number of OpenMP threads. When OpenMP is disabled, this is always 1. More... | |
| int | get_thread_id () |
| Get an id for the current OpenMP thread. When OpenMP is disabled, this is always 0. More... | |
Function Documentation
◆ get_max_threads()
| int mio::omp::get_max_threads | ( | ) |
Get an upper bound to the number of OpenMP threads. When OpenMP is disabled, this is always 1.
◆ get_num_threads()
| int mio::omp::get_num_threads | ( | ) |
Get the current number of OpenMP threads. When OpenMP is disabled, this is always 1.
◆ get_thread_id()
| int mio::omp::get_thread_id | ( | ) |
Get an id for the current OpenMP thread. When OpenMP is disabled, this is always 0.
Generated by