public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [wwwdocs] gcc-12/changes.html: OpenMP - mention masked support
@ 2021-08-13 14:37 Tobias Burnus
  2021-09-06 13:20 ` [wwwdocs] gcc-12/changes.html: OpenMP 5.1 update (was: [wwwdocs] gcc-12/changes.html: OpenMP - mention masked support) Tobias Burnus
  2023-01-16 23:42 ` [wwwdocs] gcc-12/changes.html: OpenMP - mention masked support Gerald Pfeifer
  0 siblings, 2 replies; 4+ messages in thread
From: Tobias Burnus @ 2021-08-13 14:37 UTC (permalink / raw)
  To: gcc-patches, Gerald Pfeifer, Jakub Jelinek

[-- Attachment #1: Type: text/plain, Size: 378 bytes --]

Update the OpenMP section again, now that Jakub has added the 'masked' construct.

Comments?

Tobias

-----------------
Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955

[-- Attachment #2: wwwdocs-omp-masked.diff --]
[-- Type: text/x-patch, Size: 1063 bytes --]

gcc-12/changes.html: OpenMP - mention masked support

diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html
index a8859882..a58618cc 100644
--- a/htdocs/gcc-12/changes.html
+++ b/htdocs/gcc-12/changes.html
@@ -57,8 +57,10 @@ a work-in-progress.</p>
       clause, <code>defaultmap</code> has been updated for OpenMP 5.0, and the
       <code>loop</code> directive and combined directives
       involving <code>master</code> directive have been added. Additionally,
-      support for expressing OpenMP directives as C++ 11 attributes has been
-      added, which is an OpenMP 5.1 feature.
+      the following OpenMP 5.1 feature have been added: support for expressing
+      OpenMP directives as C++ 11 attributes, the <code>masked</code> construct,
+      and using <code>primary</code> with the <code>proc_bind</code> clause and
+      <code>OMP_PROC_BIND</code> environment variable.
   </li>
   <li>The new warning flag <code>-Wopenacc-parallelism</code> was added for
       OpenACC. It warns about potentially suboptimal choices related to

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [wwwdocs] gcc-12/changes.html: OpenMP 5.1 update (was: [wwwdocs] gcc-12/changes.html: OpenMP - mention masked support)
  2021-08-13 14:37 [wwwdocs] gcc-12/changes.html: OpenMP - mention masked support Tobias Burnus
@ 2021-09-06 13:20 ` Tobias Burnus
  2021-09-06 13:44   ` Jakub Jelinek
  2023-01-16 23:42 ` [wwwdocs] gcc-12/changes.html: OpenMP - mention masked support Gerald Pfeifer
  1 sibling, 1 reply; 4+ messages in thread
From: Tobias Burnus @ 2021-09-06 13:20 UTC (permalink / raw)
  To: gcc-patches, Gerald Pfeifer, Jakub Jelinek

[-- Attachment #1: Type: text/plain, Size: 898 bytes --]

On 13.08.21 16:37, Tobias Burnus wrote:

> Update the OpenMP section again, now that Jakub has added the 'masked'
> construct.
> Comments?

Jakub did comment on IRC that it probably makes sense to do less
frequent commits.
Thus, I waited a while and now have an update list. Besides 'masked' it
now mentions:

scope construct;  nothing and error directive + primary in proc_bind.

OK? Comments? Suggestions?

Tobias

PS: Also new that the existing 'device' clause now supports the
modifiers 'device_num' and 'ancestor' and a bunch of bug fixes. While
very useful, I think those aren't changes.html worthy.

-----------------
Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955

[-- Attachment #2: omp-mask-scope-error-nothing.diff --]
[-- Type: text/x-patch, Size: 2193 bytes --]

gcc-12/changes.html: OpenMP 5.1 update

* htdocs/gcc-12/changes.html (Caveats): Item about Fortran and omp_lib.h.
  (OpenMP): More OMP 5.1 features: masked, scope, nothing, error + primary
  in proc_bind.

diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html
index 06d5ea73..946faa49 100644
--- a/htdocs/gcc-12/changes.html
+++ b/htdocs/gcc-12/changes.html
@@ -31,6 +31,7 @@ a work-in-progress.</p>
 <h2>Caveats</h2>
 <ul>
   <li>
+    <strong>C++:</strong>
     Two non-standard <code>std::pair</code> constructors have been deprecated.
     These allowed the use of an rvalue and a literal <code>0</code> to
     construct a pair containing a move-only type and a pointer.
@@ -38,7 +39,14 @@ a work-in-progress.</p>
     member instead of a literal <code>0</code>, as this is portable to other
     C++ implementations.
   </li>
-  <li>...</li>
+  <li>
+    <strong>Fortran:</strong>
+    OpenMP code using the <code>omp_lib.h</code> include file can no longer be
+    compiled with <code>-std=f95</code> but now requires at least
+    <code>-std=f2003</code>. Alternatively, use the <code>omp_lib</code> module,
+    which still supports <code>-std=f95</code> and is recommended to be used
+    instead in general.
+  </li>
 </ul>
 
 
@@ -57,8 +65,12 @@ a work-in-progress.</p>
       clause, <code>defaultmap</code> has been updated for OpenMP 5.0, and the
       <code>loop</code> directive and combined directives
       involving <code>master</code> directive have been added. Additionally,
-      support for expressing OpenMP directives as C++ 11 attributes has been
-      added, which is an OpenMP 5.1 feature.
+      the following OpenMP 5.1 feature have been added: support for expressing
+      OpenMP directives as C++ 11 attributes, the <code>masked</code> and
+      <code>scope</code> construct, the <code>nothing</code> and
+      <code>error</code> directives, and using <code>primary</code> with the
+      <code>proc_bind</code> clause and <code>OMP_PROC_BIND</code> environment
+      variable.
   </li>
   <li>The new warning flag <code>-Wopenacc-parallelism</code> was added for
       OpenACC. It warns about potentially suboptimal choices related to

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [wwwdocs] gcc-12/changes.html: OpenMP 5.1 update (was: [wwwdocs] gcc-12/changes.html: OpenMP - mention masked support)
  2021-09-06 13:20 ` [wwwdocs] gcc-12/changes.html: OpenMP 5.1 update (was: [wwwdocs] gcc-12/changes.html: OpenMP - mention masked support) Tobias Burnus
@ 2021-09-06 13:44   ` Jakub Jelinek
  0 siblings, 0 replies; 4+ messages in thread
From: Jakub Jelinek @ 2021-09-06 13:44 UTC (permalink / raw)
  To: Tobias Burnus; +Cc: gcc-patches, Gerald Pfeifer

On Mon, Sep 06, 2021 at 03:20:44PM +0200, Tobias Burnus wrote:
> On 13.08.21 16:37, Tobias Burnus wrote:
> 
> > Update the OpenMP section again, now that Jakub has added the 'masked'
> > construct.
> > Comments?
> 
> Jakub did comment on IRC that it probably makes sense to do less
> frequent commits.
> Thus, I waited a while and now have an update list. Besides 'masked' it
> now mentions:
> 
> scope construct;  nothing and error directive + primary in proc_bind.
> 
> OK? Comments? Suggestions?
> 
> Tobias
> 
> PS: Also new that the existing 'device' clause now supports the
> modifiers 'device_num' and 'ancestor' and a bunch of bug fixes. While
> very useful, I think those aren't changes.html worthy.

Agreed (especially because the ancestor modifier is only parsing, but
eventually runs into sorry_at for missing reverse_offload support).
Ok, thanks.

	Jakub


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [wwwdocs] gcc-12/changes.html: OpenMP - mention masked support
  2021-08-13 14:37 [wwwdocs] gcc-12/changes.html: OpenMP - mention masked support Tobias Burnus
  2021-09-06 13:20 ` [wwwdocs] gcc-12/changes.html: OpenMP 5.1 update (was: [wwwdocs] gcc-12/changes.html: OpenMP - mention masked support) Tobias Burnus
@ 2023-01-16 23:42 ` Gerald Pfeifer
  1 sibling, 0 replies; 4+ messages in thread
From: Gerald Pfeifer @ 2023-01-16 23:42 UTC (permalink / raw)
  To: Tobias Burnus; +Cc: gcc-patches, Jakub Jelinek

On Fri, 13 Aug 2021, Tobias Burnus wrote:
> Update the OpenMP section again, now that Jakub has added the 'masked'
> construct.
> 
> Comments?

Just a little follow-up change that I pushed; see below.

Ger "blast from the past" ald


commit dcb59089cf4bd7f09f273d7b3f35c568b1d407fb
Author: Gerald Pfeifer <gerald@pfeifer.com>
Date:   Tue Jan 17 00:37:11 2023 +0100

    gcc-12: Address grammaro in OpenMP section

diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html
index 1cefaf13..06c63c2f 100644
--- a/htdocs/gcc-12/changes.html
+++ b/htdocs/gcc-12/changes.html
@@ -162,7 +162,7 @@ You may also want to check out our
       <code>master</code> directive have been added.</li>
     <li>The following OpenMP 5.1 features have been added: support for
       expressing OpenMP directives as C++ 11 attributes, the <code>masked</code>
-      and <code>scope</code> construct, the <code>nothing</code> and
+      and <code>scope</code> constructs, the <code>nothing</code> and
       <code>error</code> directives, and using <code>primary</code> with the
       <code>proc_bind</code> clause and <code>OMP_PROC_BIND</code> environment
       variable, the <code>reproducible</code> and <code>unconstrained</code>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-16 23:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-13 14:37 [wwwdocs] gcc-12/changes.html: OpenMP - mention masked support Tobias Burnus
2021-09-06 13:20 ` [wwwdocs] gcc-12/changes.html: OpenMP 5.1 update (was: [wwwdocs] gcc-12/changes.html: OpenMP - mention masked support) Tobias Burnus
2021-09-06 13:44   ` Jakub Jelinek
2023-01-16 23:42 ` [wwwdocs] gcc-12/changes.html: OpenMP - mention masked support Gerald Pfeifer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).