summaryrefslogtreecommitdiff
path: root/gcc/fortran/intrinsic.texi
diff options
context:
space:
mode:
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>2013-10-15 22:08:46 +0000
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>2013-10-15 22:08:46 +0000
commitd93382495c67460731ce7901cb55fe8f16fcfca9 (patch)
treef6c17207d711b47ac83a387764212c8707a2408a /gcc/fortran/intrinsic.texi
parent55310327437ce53ad03ffba7133a27a147e97af0 (diff)
downloadgcc-d93382495c67460731ce7901cb55fe8f16fcfca9.tar.gz
gcc/fortran/
2013-10-16 Tobias Burnus <burnus@net-b.de> * intrinsic.texi (OpenMP Modules): Update to OpenMPv4. Document omp_proc_bind_kind. libgomp/ 2013-10-16 Tobias Burnus <burnus@net-b.de> * libgomp.texi: (Runtime Library Routines): Update references * for OpenMP 4.0. Add omp_get_cancellation, omp_get_default_device, omp_get_num_devices, omp_get_num_teams, omp_get_proc_bind, omp_get_team_num, omp_is_initial_device, omp_set_default_device. (Environment Variables): Update references for OpenMP 4.0. Add OMP_CANCELLATION, OMP_DEFAULT_DEVICE, OMP_PLACES. Move OMP_DISPLAY_ENV and OMP_PROC_BIND up to be in alphabetical order. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203635 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/intrinsic.texi')
-rw-r--r--gcc/fortran/intrinsic.texi23
1 files changed, 18 insertions, 5 deletions
diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi
index afe96711843..18bd4d241b2 100644
--- a/gcc/fortran/intrinsic.texi
+++ b/gcc/fortran/intrinsic.texi
@@ -13177,7 +13177,7 @@ Both are equivalent to the value @code{NULL} in C.
@section OpenMP Modules @code{OMP_LIB} and @code{OMP_LIB_KINDS}
@table @asis
@item @emph{Standard}:
-OpenMP Application Program Interface v3.1
+OpenMP Application Program Interface v4.0
@end table
@@ -13190,8 +13190,8 @@ the named constants defined in the modules are listed
below.
For details refer to the actual
-@uref{http://www.openmp.org/mp-documents/spec31.pdf,
-OpenMP Application Program Interface v3.1}.
+@uref{http://www.openmp.org/mp-documents/OpenMP4.0.0.pdf,
+OpenMP Application Program Interface v4.0}.
@code{OMP_LIB_KINDS} provides the following scalar default-integer
named constants:
@@ -13199,15 +13199,17 @@ named constants:
@table @asis
@item @code{omp_lock_kind}
@item @code{omp_nest_lock_kind}
+@item @code{omp_proc_bind_kind}
@item @code{omp_sched_kind}
@end table
@code{OMP_LIB} provides the scalar default-integer
named constant @code{openmp_version} with a value of the form
@var{yyyymm}, where @code{yyyy} is the year and @var{mm} the month
-of the OpenMP version; for OpenMP v3.1 the value is @code{201107}.
+of the OpenMP version; for OpenMP v3.1 the value is @code{201107}
+and for OpenMP v4.0 the value is @code{201307}.
-And the following scalar integer named constants of the
+The following scalar integer named constants of the
kind @code{omp_sched_kind}:
@table @asis
@@ -13216,3 +13218,14 @@ kind @code{omp_sched_kind}:
@item @code{omp_sched_guided}
@item @code{omp_sched_auto}
@end table
+
+And the following scalar integer named constants of the
+kind @code{omp_proc_bind_kind}:
+
+@table @asis
+@item @code{omp_proc_bind_false}
+@item @code{omp_proc_bind_true}
+@item @code{omp_proc_bind_master}
+@item @code{omp_proc_bind_close}
+@item @code{omp_proc_bind_spread}
+@end table