From: Julian Brown Date: Wed, 9 Jan 2019 11:41:04 +0000 (-0800) Subject: Update OpenACC version to 2.6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=526068fc0de093be52c376bfc1b7172bb9edf726;p=thirdparty%2Fgcc.git Update OpenACC version to 2.6 gcc/c-family/ * c-cppbuiltin.c (c_cpp_builtins): Update _OPENACC define to 201711. gcc/doc/ * invoke.texi: Update mention of OpenACC version to 2.6. gcc/fortran/ * cpp.c (cpp_define_builtins): Update _OPENACC define to 201711. * gfortran.texi: Update mentions of OpenACC version to 2.6. * intrinsic.texi: Likewise. gcc/testsuite/ * c-c++-common/cpp/openacc-define-3.c: Update expected value for _OPENACC define. * gfortran.dg/openacc-define-3.f90: Likewise. libgomp/ * libgomp.texi: Update mentions of OpenACC version to 2.6. Update section numbers to match version 2.6 of the spec. * openacc.f90 (openacc_version): Update to 201711. * openacc_lib.h (openacc_version): Update to 201711. * testsuite/libgomp.oacc-fortran/openacc_version-1.f: Update expected openacc_version to 201711. * testsuite/libgomp.oacc-fortran/openacc_version-2.f90: Likewise. --- diff --git a/gcc/c-family/ChangeLog.omp b/gcc/c-family/ChangeLog.omp index 0012a30a7b02..3aa2991f6f32 100644 --- a/gcc/c-family/ChangeLog.omp +++ b/gcc/c-family/ChangeLog.omp @@ -1,3 +1,7 @@ +2019-01-09 Julian Brown + + * c-cppbuiltin.c (c_cpp_builtins): Update _OPENACC define to 201711. + 2018-10-02 Thomas Schwinge Cesar Philippidis diff --git a/gcc/doc/ChangeLog.omp b/gcc/doc/ChangeLog.omp new file mode 100644 index 000000000000..1f5bfdd1309b --- /dev/null +++ b/gcc/doc/ChangeLog.omp @@ -0,0 +1,4 @@ +2019-01-09 Julian Brown + + * invoke.texi: Update mention of OpenACC version to 2.6. + diff --git a/gcc/fortran/ChangeLog.omp b/gcc/fortran/ChangeLog.omp index f3d047bd4818..8e4763b2f973 100644 --- a/gcc/fortran/ChangeLog.omp +++ b/gcc/fortran/ChangeLog.omp @@ -1,3 +1,9 @@ +2019-01-09 Julian Brown + + * cpp.c (cpp_define_builtins): Update _OPENACC define to 201711. + * gfortran.texi: Update mentions of OpenACC version to 2.6. + * intrinsic.texi: Likewise. + 2018-12-13 Cesar Philippidis Nathan Sidwell Julian Brown diff --git a/gcc/testsuite/ChangeLog.omp b/gcc/testsuite/ChangeLog.omp index 19295060e7a3..d76ae36e0b0f 100644 --- a/gcc/testsuite/ChangeLog.omp +++ b/gcc/testsuite/ChangeLog.omp @@ -1,3 +1,9 @@ +2019-01-09 Julian Brown + + * c-c++-common/cpp/openacc-define-3.c: Update expected value for + _OPENACC define. + * gfortran.dg/openacc-define-3.f90: Likewise. + 2019-01-23 Thomas Schwinge * c-c++-common/goacc/classify-kernels-unparallelized.c: Update. diff --git a/libgomp/ChangeLog.omp b/libgomp/ChangeLog.omp index 1f1bf546ad99..ebbe9ecaf4d6 100644 --- a/libgomp/ChangeLog.omp +++ b/libgomp/ChangeLog.omp @@ -1,3 +1,13 @@ +2019-01-09 Julian Brown + + * libgomp.texi: Update mentions of OpenACC version to 2.6. Update + section numbers to match version 2.6 of the spec. + * openacc.f90 (openacc_version): Update to 201711. + * openacc_lib.h (openacc_version): Update to 201711. + * testsuite/libgomp.oacc-fortran/openacc_version-1.f: Update expected + openacc_version to 201711. + * testsuite/libgomp.oacc-fortran/openacc_version-2.f90: Likewise. + 2019-01-30 Thomas Schwinge * testsuite/libgomp.oacc-c-c++-common/kernels-alias-ipa-pta-2.c: diff --git a/libgomp/libgomp.texi b/libgomp/libgomp.texi index 2c1f1b5968b1..1b3442f68f81 100644 --- a/libgomp/libgomp.texi +++ b/libgomp/libgomp.texi @@ -1983,6 +1983,9 @@ Generally, they are available only for the host, with the exception of @code{acc_on_device}, which is available for both the host and the acceleration device. +This list has not yet been updated for the OpenACC specification in +version 2.6. + @menu * acc_get_num_devices:: Get number of devices for the given device type. @@ -3243,7 +3246,7 @@ Function for library registration. @chapter OpenACC Environment Variables The variables @env{ACC_DEVICE_TYPE} and @env{ACC_DEVICE_NUM} -are defined by section 4 of the OpenACC specification in version 2.0. +are defined by section 4 of the OpenACC specification in version 2.6. The variable @env{ACC_PROFLIB} is defined by section 4 of the OpenACC specification in version 2.6. The variable @env{GCC_ACC_NOTIFY} is used for diagnostic purposes.