[wwwdocs] gcc-13/changes.html + projects/gomp: OpenMP GCC 13 update

Message ID 4f17329b-0550-780d-e55b-49b2dbcd1ea9@codesourcery.com
State New
Headers
Series [wwwdocs] gcc-13/changes.html + projects/gomp: OpenMP GCC 13 update |

Commit Message

Tobias Burnus Dec. 6, 2022, 8:59 a.m. UTC
  This patch updates the OpenMP implementation status, based on libgomp.texi.
For the release notes, it also moves 'non-rectangular loop nests' up as that's
a 5.0 not a 5.1 feature.
And in line with libgomp.texi, it adds to projects/gomp/ the items for TR11,
a OpenMP 6.0 preview. (Hence, the id="omp6.0" to have a fixed id even when
the list is updated to TR12 and later OpenMP 6.0.)

Comments? Suggestions? OK?

Tobias

PS: There will be surely more updates before GCC 13 is released; I hope/assume
the next change will be for nvptx reverse offload...
-----------------
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
  

Comments

Jakub Jelinek Dec. 6, 2022, 9:15 a.m. UTC | #1
On Tue, Dec 06, 2022 at 09:59:17AM +0100, Tobias Burnus wrote:
> This patch updates the OpenMP implementation status, based on libgomp.texi.
> For the release notes, it also moves 'non-rectangular loop nests' up as that's
> a 5.0 not a 5.1 feature.
> And in line with libgomp.texi, it adds to projects/gomp/ the items for TR11,
> a OpenMP 6.0 preview. (Hence, the id="omp6.0" to have a fixed id even when
> the list is updated to TR12 and later OpenMP 6.0.)

The posted patch is certainly good, but doesn't do what you wrote above.

> PS: There will be surely more updates before GCC 13 is released; I hope/assume
> the next change will be for nvptx reverse offload...
> -----------------
> 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

> commit 9f80367e539839fff1df2c85fc2640638199fc9e
> Author: Tobias Burnus <tobias@codesourcery.com>
> Date:   Tue Dec 6 09:49:30 2022 +0100
> 
>     libgomp.texi: Fix a OpenMP 5.2 and a TR11 impl-status item
>     
>     libgomp/
>             * libgomp.texi (OpenMP 5.2): Add missing 'the'.
>             (TR11): Add missing '@tab N @tab'.
> ---
>  libgomp/libgomp.texi | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/libgomp/libgomp.texi b/libgomp/libgomp.texi
> index 4caac497506..efa7d956a33 100644
> --- a/libgomp/libgomp.texi
> +++ b/libgomp/libgomp.texi
> @@ -406,7 +406,7 @@ to address of matching mapped list item per 5.1, Sect. 2.21.7.2 @tab N @tab
>  @item @code{allocate} and @code{firstprivate} clauses on @code{scope}
>        @tab Y @tab
>  @item @code{ompt_callback_work} @tab N @tab
> -@item Default map-type for @code{map} clause in @code{target enter/exit data}
> +@item Default map-type for the @code{map} clause in @code{target enter/exit data}
>        @tab Y @tab
>  @item New @code{doacross} clause as alias for @code{depend} with
>        @code{source}/@code{sink} modifier @tab Y @tab
> @@ -463,6 +463,7 @@ Technical Report (TR) 11 is the first preview for OpenMP 6.0.
>  @item @code{access} allocator trait changes @tab N @tab
>  @item Extension of @code{interop} operation of @code{append_args}, allowing all
>        modifiers of the @code{init} clause
> +      @tab N @tab
>  @item @code{interop} clause to @code{dispatch} @tab N @tab
>  @item @code{apply} code to loop-transforming constructs @tab N @tab
>  @item @code{omp_curr_progress_width} identifier @tab N @tab


	Jakub
  
Tobias Burnus Dec. 6, 2022, 9:32 a.m. UTC | #2
On 06.12.22 10:15, Jakub Jelinek wrote:
> On Tue, Dec 06, 2022 at 09:59:17AM +0100, Tobias Burnus wrote:
>> This patch updates the OpenMP implementation status, based on libgomp.texi.
>> For the release notes, it also moves 'non-rectangular loop nests' up as that's
>> a 5.0 not a 5.1 feature.
>> And in line with libgomp.texi, it adds to projects/gomp/ the items for TR11,
>> a OpenMP 6.0 preview. (Hence, the id="omp6.0" to have a fixed id even when
>> the list is updated to TR12 and later OpenMP 6.0.)
> The posted patch is certainly good, but doesn't do what you wrote above.

Next try  – how about this one?

Tobias

>> PS: There will be surely more updates before GCC 13 is released; I hope/assume
>> the next change will be for nvptx reverse offload...
-----------------
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
  
Jakub Jelinek Dec. 6, 2022, 9:42 a.m. UTC | #3
On Tue, Dec 06, 2022 at 10:32:40AM +0100, Tobias Burnus wrote:
> +      <code>omp_get_mapped_ptr</code> API routines. The assume and assumes

<code>assume</code> and <code>assumes</code> please

> +      directives, the <code>begin/end declare target</code> syntax in C/C++
> +      and device-specific ICV settings with environment variables are now
> +      supported.</li>
>      <li>
>        Initial support for OpenMP 5.2 features have been added: Support for
>        <code>firstprivate</code> and <code>allocate</code> clauses on the
> @@ -73,7 +75,14 @@ a work-in-progress.</p>
>        <code>omp_initial_device</code> and <code>omp_invalid_device</code>; and
>        optionally omitting the map-type in <code>target enter/exit data</code>.
>        The <code>enter</code> clause (as alias for <code>to</code>) has been added
> -      to the <code>declare target</code> directive.
> +      to the <code>declare target</code> directive. Also added has been the
> +      <code>omp_in_explicit_task</code> routine and the <code>doacross<code>
> +      clause as alias for <code>depend</code> with <code>source/sink</code>

<code>source</code>/<code>sink</code>

Otherwise LGTM.

	Jakub
  

Patch

commit 9f80367e539839fff1df2c85fc2640638199fc9e
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Tue Dec 6 09:49:30 2022 +0100

    libgomp.texi: Fix a OpenMP 5.2 and a TR11 impl-status item
    
    libgomp/
            * libgomp.texi (OpenMP 5.2): Add missing 'the'.
            (TR11): Add missing '@tab N @tab'.
---
 libgomp/libgomp.texi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libgomp/libgomp.texi b/libgomp/libgomp.texi
index 4caac497506..efa7d956a33 100644
--- a/libgomp/libgomp.texi
+++ b/libgomp/libgomp.texi
@@ -406,7 +406,7 @@  to address of matching mapped list item per 5.1, Sect. 2.21.7.2 @tab N @tab
 @item @code{allocate} and @code{firstprivate} clauses on @code{scope}
       @tab Y @tab
 @item @code{ompt_callback_work} @tab N @tab
-@item Default map-type for @code{map} clause in @code{target enter/exit data}
+@item Default map-type for the @code{map} clause in @code{target enter/exit data}
       @tab Y @tab
 @item New @code{doacross} clause as alias for @code{depend} with
       @code{source}/@code{sink} modifier @tab Y @tab
@@ -463,6 +463,7 @@  Technical Report (TR) 11 is the first preview for OpenMP 6.0.
 @item @code{access} allocator trait changes @tab N @tab
 @item Extension of @code{interop} operation of @code{append_args}, allowing all
       modifiers of the @code{init} clause
+      @tab N @tab
 @item @code{interop} clause to @code{dispatch} @tab N @tab
 @item @code{apply} code to loop-transforming constructs @tab N @tab
 @item @code{omp_curr_progress_width} identifier @tab N @tab