From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by sourceware.org (Postfix) with ESMTPS id CCD733858404 for ; Wed, 10 Nov 2021 11:08:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CCD733858404 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-547-JspXNWTNMVKN0EVQjgQjDA-1; Wed, 10 Nov 2021 06:08:01 -0500 X-MC-Unique: JspXNWTNMVKN0EVQjgQjDA-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id ECD15802C8F; Wed, 10 Nov 2021 11:07:59 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.192.54]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8605F18979; Wed, 10 Nov 2021 11:07:59 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.16.1/8.16.1) with ESMTPS id 1AAB7ujH804327 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 10 Nov 2021 12:07:57 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.16.1/8.16.1/Submit) id 1AAB7tkV804326; Wed, 10 Nov 2021 12:07:55 +0100 Date: Wed, 10 Nov 2021 12:07:55 +0100 From: Jakub Jelinek To: Tobias Burnus Cc: gcc-patches , Gerald Pfeifer Subject: Re: [wwwdocs, patch] gcc-12/changes.html: Update OpenMP status Message-ID: <20211110110755.GG2710@tucnak> Reply-To: Jakub Jelinek References: MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2021 11:08:07 -0000 On Wed, Nov 10, 2021 at 11:33:09AM +0100, Tobias Burnus wrote: > Cumulative update of the OpenMP 5.x changes in GCC 12. > > I hope it covers all essential changes. Of course, > some other could be added like 'omp target in_reduction', > which was missing before (oversight) and possibly other > things, which I have missed. > > For the last bullet: the implementation-status documentation > is new – but even if it were not, linking to it makes sense. > I kept adding and removing a 'full' after the "The", > which sounds better but while the list in libgomp.texi is > extensive, it does not have "full" coverage of all changes. > Additionally, as it is new, a "now" could be added after > "can". > > Suggestions, additions, wording changes? > > 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 > gcc-12/changes.html: Update OpenMP status > > diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html > index 81f62fe3..bbb8f2ac 100644 > --- a/htdocs/gcc-12/changes.html > +++ b/htdocs/gcc-12/changes.html > @@ -70,20 +70,36 @@ a work-in-progress.

>

New Languages and Language specific improvements

> >
    > -
  • OpenMP 5.0 support has been extended: The close map modifier > +
  • OpenMP > +
      > +
    • OpenMP 5.0 support has been extended: The close map modifier > and the affinity clause are now supported and for Fortran > additionally the following features which were available in C and C++ > - before: depobj, mutexinoutset and > - iterator can now also be used with the depend > - clause, defaultmap has been updated for OpenMP 5.0, and the > - loop directive and combined directives > - involving master directive have been added. Additionally, > - the following OpenMP 5.1 feature have been added: support for expressing > + before: declare variant is now available, > + depobj, mutexinoutset and iterator > + can now also be used with the depend clause, > + defaultmap has been updated for OpenMP 5.0, and the > + loop directive and combined directives involving > + master directive have been added.
    • > +
    • The following OpenMP 5.1 feature have been added: support for expressing > OpenMP directives as C++ 11 attributes, the masked and > scope construct, the nothing and > error directives, and using primary with the > proc_bind clause and OMP_PROC_BIND environment > - variable. > + variable, the reproducible and unconstrained > + modifiers to the order clause, and, for C/C++ only, the > + align- and allocate-modifiers to the allocate clause and > + the atomic extensions are now available. The > + OMP_PLACE environment variable supports the OpenMP 5.1 > + features and the OMP_NUM_TEAMS and > + OMP_TEAMS_THREAD_LIMIT environement variables and their environment > + associated API routines are now supported as well as the memory-allocation > + routines added for Fortran and extended for C/C++ in OpenMP 5.1. In > + Fortran code, strictly-structured blocks can be used.
    • > +
    • The + href="https://gcc.gnu.org/onlinedocs/libgomp/OpenMP-Implementation-Status.html" > + >OpenMP Implementation Status can be found in the libgomp manual.
    • > +
    >
  • >
  • The new warning flag -Wopenacc-parallelism was added for > OpenACC. It warns about potentially suboptimal choices related to Otherwise LGTM. Jakub