![]() |
GHOST
1.1.2
General, Hybrid, and Optimized Sparse Toolkit
|
Function wrappers for OpenMP functions. If OpenMP ist disabled, the function are still defined but stubs. More...

Go to the source code of this file.
Functions | |
| void | ghost_omp_nthread_set (int nthreads) |
| Set the number of threads. More... | |
| int | ghost_omp_threadnum () |
| Get the active thread number. More... | |
| int | ghost_omp_nthread () |
| Get the number of OpenMP threads. More... | |
| int | ghost_omp_get_nested () |
| Check whether nested parallelism is enabled. More... | |
| void | ghost_omp_set_nested (int nested) |
| En- or disable nested parallelism. More... | |
| int | ghost_omp_in_parallel () |
| Check whether one is in an active parallel region. More... | |
| void | ghost_omp_set_dynamic (int dynamic_threads) |
| Indicates that the number of threads available in subsequent parallel region can be adjusted by the run time. More... | |
Function wrappers for OpenMP functions. If OpenMP ist disabled, the function are still defined but stubs.
| int ghost_omp_get_nested | ( | ) |
Check whether nested parallelism is enabled.
| int ghost_omp_in_parallel | ( | ) |
Check whether one is in an active parallel region.
| int ghost_omp_nthread | ( | ) |
Get the number of OpenMP threads.
| void ghost_omp_nthread_set | ( | int | nthreads | ) |
Set the number of threads.
| nthreads | The number of threads. |
| void ghost_omp_set_dynamic | ( | int | dynamic_threads | ) |
Indicates that the number of threads available in subsequent parallel region can be adjusted by the run time.
| dynamic_threads | 0 implies no runtime adjustments, else runtime adjustments are enabled |
| void ghost_omp_set_nested | ( | int | nested | ) |
En- or disable nested parallelism.
| nested | 1 if nested parallelism should be en-, 0 if it should be disabled. |
| int ghost_omp_threadnum | ( | ) |
Get the active thread number.
1.8.6