omp_get_dynamic
– Dynamic teams setting ¶This function returns true
if enabled, false
otherwise.
Here, true
and false
represent their language-specific
counterparts.
The dynamic team setting may be initialized at startup by the
OMP_DYNAMIC
environment variable or at runtime using
omp_set_dynamic
. If undefined, dynamic adjustment is
disabled by default.
Prototype: | int omp_get_dynamic(void); |
Interface: | logical function omp_get_dynamic() |
omp_set_dynamic
– Enable/disable dynamic teams, OMP_DYNAMIC
– Dynamic adjustment of threads
OpenMP specification v4.5, Section 3.2.8.