Next: OpenACC Module OPENACC, Previous: IEEE modules, Up: Intrinsic Modules [Contents][Index]
OMP_LIB
and OMP_LIB_KINDS
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.
OMP_LIB_KINDS
provides the following scalar default-integer
named constants:
omp_lock_kind
omp_lock_hint_kind
omp_nest_lock_kind
omp_proc_bind_kind
omp_sched_kind
OMP_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_static
omp_sched_dynamic
omp_sched_guided
omp_sched_auto
And the following scalar integer named constants of the
kind omp_proc_bind_kind
:
omp_proc_bind_false
omp_proc_bind_true
omp_proc_bind_master
omp_proc_bind_close
omp_proc_bind_spread
The following scalar integer named constants are of the
kind omp_lock_hint_kind
:
omp_lock_hint_none
omp_lock_hint_uncontended
omp_lock_hint_contended
omp_lock_hint_nonspeculative
omp_lock_hint_speculative