From patchwork Tue Nov 16 09:25:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 47752 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 96CF13858003 for ; Tue, 16 Nov 2021 09:26:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 96CF13858003 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1637054792; bh=9pIuuQfHd3aamZtP9odCcd3jIyrywhFJwV63Q/PLWHA=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=YU8+0M4FZcumx+dYIKsWYzezZKa2hDm9LgHTLVjQfilHgb/R0B5P4g5U9WoCDWRVJ NpxeT255tDkwACXYcr/uLTEJV1Sq/w+9dHdumF3kfaPNDdXdyXR3gphyjoWVrN12tB RdMjxWzZhhQvA2p2k3tSxM2fnOesEUHwQqbdOrX8= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 4CBC23858414 for ; Tue, 16 Nov 2021 09:26:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4CBC23858414 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-227-W3jgJj6wN2G_V0zx0p_l3w-1; Tue, 16 Nov 2021 04:25:59 -0500 X-MC-Unique: W3jgJj6wN2G_V0zx0p_l3w-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8468680A5CE; Tue, 16 Nov 2021 09:25:58 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.192.54]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2D8AB196E2; Tue, 16 Nov 2021 09:25:58 +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 1AG9Pt8P4094006 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 16 Nov 2021 10:25:55 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.16.1/8.16.1/Submit) id 1AG9PscX4094005; Tue, 16 Nov 2021 10:25:54 +0100 Date: Tue, 16 Nov 2021 10:25:54 +0100 To: Tobias Burnus Subject: [committed] libgomp: Mark thread_limit clause to target construct as implemented Message-ID: <20211116092554.GG2710@tucnak> References: <20211115120540.GV2710@tucnak> <8f14a3f6-0a5f-6c1e-a493-f4b9ce3c4ebb@codesourcery.com> MIME-Version: 1.0 In-Reply-To: <8f14a3f6-0a5f-6c1e-a493-f4b9ce3c4ebb@codesourcery.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, 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-Patchwork-Original-From: Jakub Jelinek via Gcc-patches From: Jakub Jelinek Reply-To: Jakub Jelinek Cc: gcc-patches@gcc.gnu.org Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" On Mon, Nov 15, 2021 at 02:00:42PM +0100, Tobias Burnus wrote: > Fortran: openmp: Add support for thread_limit clause on target > > gcc/fortran/ChangeLog: > > * openmp.c (OMP_TARGET_CLAUSES): Add thread_limit. > * trans-openmp.c (gfc_split_omp_clauses): Add thread_limit also to > teams. After the Fortran changes we can mark it as implemented... Bootstrapped/regtested on x86_64-linux and i686-linux, committed to trunk. 2021-11-16 Jakub Jelinek * libgomp.texi (OpenMP 5.1): Mark thread_limit clause to target construct as implemented. Jakub --- libgomp/libgomp.texi.jj 2021-10-27 09:24:43.312822017 +0200 +++ libgomp/libgomp.texi 2021-11-15 22:29:35.210487522 +0100 @@ -292,7 +292,7 @@ The OpenMP 4.5 specification is fully su clauses of the taskloop construct @tab Y @tab @item @code{align} clause/modifier in @code{allocate} directive/clause and @code{allocator} directive @tab P @tab C/C++ on clause only -@item @code{thread_limit} clause to @code{target} construct @tab N @tab +@item @code{thread_limit} clause to @code{target} construct @tab Y @tab @item @code{has_device_addr} clause to @code{target} construct @tab N @tab @item iterators in @code{target update} motion clauses and @code{map} clauses @tab N @tab