OpenMP Application Program Interface v4.5
The OpenMP Fortran runtime library routines are provided both in a form of two Fortran 90 modules, named OMP_LIB and OMP_LIB_KINDS, and in a form of a Fortran include file named omp_lib.h. The procedures provided by OMP_LIB can be found in the Introduction in GNU Offloading and Multi Processing Runtime Library manual, the named constants defined in the modules are listed below.
For details refer to the actual OpenMP Application Program Interface v4.5. And for the pause-related constants to the OpenMP 5.0 specification.
OMP_LIB_KINDS provides the following scalar default-integer named constants:
omp_lock_kindomp_lock_hint_kindomp_nest_lock_kindomp_pause_resource_kindomp_proc_bind_kindomp_sched_kindOMP_LIB provides the scalar default-integer named constant openmp_version with a value of the form yyyymm, where yyyy is the year and mm the month of the OpenMP version; for OpenMP v4.5 the value is 201511.
The following scalar integer named constants of the kind omp_sched_kind:
omp_sched_staticomp_sched_dynamicomp_sched_guidedomp_sched_autoAnd the following scalar integer named constants of the kind omp_proc_bind_kind:
omp_proc_bind_falseomp_proc_bind_trueomp_proc_bind_masteromp_proc_bind_closeomp_proc_bind_spreadThe following scalar integer named constants are of the kind omp_lock_hint_kind:
omp_lock_hint_noneomp_lock_hint_uncontendedomp_lock_hint_contendedomp_lock_hint_nonspeculativeomp_lock_hint_speculativeAnd the following two scalar integer named constants are of the kind omp_pause_resource_kind:
omp_pause_softomp_pause_hard
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-10.2.0/gfortran/OpenMP-Modules-OMP_005fLIB-and-OMP_005fLIB_005fKINDS.html