Re: [PATCH] Better distinguish OpenACC and OpenMP sections in libgomp.texi

2019-01-10 Thread Jakub Jelinek
On Fri, Jan 11, 2019 at 01:03:48AM +, Julian Brown wrote:
> 2019-xx-xx  Thomas Schwinge  
> James Norris  
> 
> * libgomp.texi: Better distinguish OpenACC and OpenMP "Runtime
> Library Routines", and "Environment Variables".

Ok, thanks.

Jakub


[PATCH] Better distinguish OpenACC and OpenMP sections in libgomp.texi

2019-01-10 Thread Julian Brown
Hi,

This patch looks like it should have been attached to the following
email:

https://gcc.gnu.org/ml/gcc-patches/2018-09/msg01173.html

but it looks like the wrong patch (and ChangeLog!) were attached
instead. For convenience, I'll copy Cesar's blurb (mildly corrected)
from the previous message:

"This patch updates the libgomp documentation to more clearly identify
OpenMP-specific sections. Specifically, the sections "Runtime Library
Routine" and "Environment Variables" are now prefixed by OpenMP, because
those sections are not applicable to OpenACC."

I've re-checked that the generated libgomp.pdf looks ok.

OK? (Documentation, so should be OK for stage 4, IIUC.)

Thanks,

Julian

ChangeLog

2019-xx-xx  Thomas Schwinge  
James Norris  

* libgomp.texi: Better distinguish OpenACC and OpenMP "Runtime
Library Routines", and "Environment Variables".
diff --git a/libgomp/libgomp.texi b/libgomp/libgomp.texi
index 4991271..e2e384a 100644
--- a/libgomp/libgomp.texi
+++ b/libgomp/libgomp.texi
@@ -95,10 +95,12 @@ changed to GNU Offloading and Multi Processing Runtime Library.
 @comment
 @menu
 * Enabling OpenMP::How to enable OpenMP for your applications.
-* Runtime Library Routines::   The OpenMP runtime application programming 
+* OpenMP Runtime Library Routines: Runtime Library Routines.
+   The OpenMP runtime application programming
interface.
-* Environment Variables::  Influencing runtime behavior with environment 
-   variables.
+* OpenMP Environment Variables: Environment Variables.
+   Influencing OpenMP runtime behavior with
+   environment variables.
 * Enabling OpenACC::   How to enable OpenACC for your
applications.
 * OpenACC Runtime Library Routines:: The OpenACC runtime application
@@ -144,11 +146,11 @@ version 4.5.
 
 
 @c -
-@c Runtime Library Routines
+@c OpenMP Runtime Library Routines
 @c -
 
 @node Runtime Library Routines
-@chapter Runtime Library Routines
+@chapter OpenMP Runtime Library Routines
 
 The runtime routines described here are defined by Section 3 of the OpenMP
 specification in version 4.5.  The routines are structured in following
@@ -1327,11 +1329,11 @@ guaranteed not to change during the execution of the program.
 
 
 @c -
-@c Environment Variables
+@c OpenMP Environment Variables
 @c -
 
 @node Environment Variables
-@chapter Environment Variables
+@chapter OpenMP Environment Variables
 
 The environment variables which beginning with @env{OMP_} are defined by
 section 4 of the OpenMP specification in version 4.5, while those