omp_get_dynamic – Dynamic teams setting#

Description:

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.

C/C++:

Prototype:

int omp_get_dynamic(void);

Fortran:

Interface:

logical function omp_get_dynamic()

See also:

omp_set_dynamic – Enable/disable dynamic teams, OMP_DYNAMIC – Dynamic adjustment of threads

Reference:

OpenMP specification v4.5, Section 3.2.8.