libgomp: omp_get_proc_bind
1
1 2.15 'omp_get_proc_bind' - Whether theads may be moved between CPUs
1 ===================================================================
1
1 _Description_:
1 This functions returns the currently active thread affinity policy,
1 which is set via 'OMP_PROC_BIND'. Possible values are
1 'omp_proc_bind_false', 'omp_proc_bind_true',
1 'omp_proc_bind_master', 'omp_proc_bind_close' and
1 'omp_proc_bind_spread'.
1
1 _C/C++_:
1 _Prototype_: 'omp_proc_bind_t omp_get_proc_bind(void);'
1
1 _Fortran_:
1 _Interface_: 'integer(kind=omp_proc_bind_kind) function
1 omp_get_proc_bind()'
1
1 _See also_:
DONTPRINTYET 1 ⇒OMP_PROC_BIND, ⇒OMP_PLACES, *note1DONTPRINTYET 1 ⇒OMP_PROC_BIND, ⇒OMP_PLACES, ⇒
GOMP_CPU_AFFINITY,
1
1 _Reference_:
1 OpenMP specification v4.5 (http://www.openmp.org/), Section 3.2.22.
1