diff options
author | Tobias Burnus <burnus@net-b.de> | 2013-10-16 00:08:46 +0200 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2013-10-16 00:08:46 +0200 |
commit | 83fd6c5b8cb825bd1fe8c9ca258efdea9fd358cd (patch) | |
tree | f6c17207d711b47ac83a387764212c8707a2408a /gcc | |
parent | bf7b5747bb33b0333786dfcc015e0f23136e5f18 (diff) | |
download | gcc-83fd6c5b8cb825bd1fe8c9ca258efdea9fd358cd.zip gcc-83fd6c5b8cb825bd1fe8c9ca258efdea9fd358cd.tar.gz gcc-83fd6c5b8cb825bd1fe8c9ca258efdea9fd358cd.tar.bz2 |
intrinsic.texi (OpenMP Modules): Update to OpenMPv4.
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.
From-SVN: r203635
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/fortran/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/fortran/intrinsic.texi | 23 |
2 files changed, 23 insertions, 5 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 83edb16..ee6b8ed 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2013-10-16 Tobias Burnus <burnus@net-b.de> + + * intrinsic.texi (OpenMP Modules): Update to OpenMPv4. + Document omp_proc_bind_kind. + 2013-10-15 Tobias Burnus <burnus@net-b.de> PR fortran/58652 diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi index afe9671..18bd4d2 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 |