Hi! On Mon, 15 May 2017 08:52:39 +0200, I wrote: > On Tue, 28 Feb 2017 18:43:36 +0100, I wrote: > > The 2.5 versions of the OpenACC standard added a new chapter "Profiling > > Interface". In r245784, I committed incomplete support to > > gomp-4_0-branch. I plan to continue working on this, but wanted to > > synchronize at this point. > > > > commit b22a85fe7f3daeb48460e7aa28606d0cdb799f69 > > Author: tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4> > > Date: Tue Feb 28 17:36:03 2017 +0000 > > > > OpenACC 2.5 Profiling Interface (incomplete) > > Committed to gomp-4_0-branch in r248042: > > commit e3720963a1f494b2a0a1b6c28d5eb8bfb7c0d546 > Author: tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4> > Date: Mon May 15 06:50:17 2017 +0000 > > More OpenACC 2.5 Profiling Interface
Committed to gomp-4_0-branch in r248058: commit b58008024048f960eedffff9fd709cbe5d5ea96c Author: tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Mon May 15 11:45:45 2017 +0000 Documentation changes for OpenACC 2.5 Profiling Interface libgomp/ * libgomp.texi (OpenACC Environment Variables): Mention "ACC_PROFLIB". (OpenACC Profiling Interface): Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gomp-4_0-branch@248058 138bc75d-0d04-0410-961f-82ee72b054a4 --- libgomp/ChangeLog.gomp | 4 ++++ libgomp/libgomp.texi | 21 ++++++++++++++++++--- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git libgomp/ChangeLog.gomp libgomp/ChangeLog.gomp index f36cbfc..3125c99 100644 --- libgomp/ChangeLog.gomp +++ libgomp/ChangeLog.gomp @@ -1,5 +1,9 @@ 2017-05-15 Thomas Schwinge <tho...@codesourcery.com> + * libgomp.texi (OpenACC Environment Variables): Mention + "ACC_PROFLIB". + (OpenACC Profiling Interface): Update. + * libgomp.texi: Update for OpenACC 2.5. * openacc.f90 (openacc_version): Update to "201510". * openacc_lib.h (openacc_version): Likewise. diff --git libgomp/libgomp.texi libgomp/libgomp.texi index 74b98c7..7a3c491 100644 --- libgomp/libgomp.texi +++ libgomp/libgomp.texi @@ -2839,13 +2839,15 @@ A.2.1.4. @node OpenACC Environment Variables @chapter OpenACC Environment Variables -The variables @env{ACC_DEVICE_TYPE} and @env{ACC_DEVICE_NUM} +The variables @env{ACC_DEVICE_TYPE}, @env{ACC_DEVICE_NUM}, +and @code{ACC_PROFLIB} are defined by section 4 of the OpenACC specification in version 2.5. The variable @env{GCC_ACC_NOTIFY} is used for diagnostic purposes. @menu * ACC_DEVICE_TYPE:: * ACC_DEVICE_NUM:: +* ACC_PROFLIB:: * GCC_ACC_NOTIFY:: @end menu @@ -2871,6 +2873,19 @@ The variable @env{GCC_ACC_NOTIFY} is used for diagnostic purposes. +@node ACC_PROFLIB +@section @code{ACC_PROFLIB} +@table @asis +@item @emph{See also}: +@ref{OpenACC Profiling Interface} + +@item @emph{Reference}: +@uref{http://www.openacc.org/, OpenACC specification v2.5}, section +4.3. +@end table + + + @node GCC_ACC_NOTIFY @section @code{GCC_ACC_NOTIFY} @table @asis @@ -3095,8 +3110,8 @@ Application Programming Interface}, version 2.5.} @section Implementation Status and Implementation-Defined Behavior -We're not yet implementing the whole Profiling Interface as defined by -the OpenACC 2.5 specification. Also, the specification doesn't +We're implementing most of the Profiling Interface as defined by +the OpenACC 2.5 specification. The specification doesn't clearly define some aspects of its Profiling Interface, so we're clarifying these as @emph{implementation-defined behavior} here. We already have reported to the OpenACC Technical Committee some issues, Grüße Thomas