From patchwork Sat Jan 6 18:52:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandra Loosemore X-Patchwork-Id: 83463 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 5F8DD385DC08 for ; Sat, 6 Jan 2024 18:56:25 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com [68.232.129.153]) by sourceware.org (Postfix) with ESMTPS id 3FD793858C30 for ; Sat, 6 Jan 2024 18:54:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3FD793858C30 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3FD793858C30 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=68.232.129.153 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704567287; cv=none; b=r8KocsdwM/y2ZiOEof7r3YvrQPFjl5hSxdYOFwS263uu9vbFYPSWVbxIek2zr9fCXV5xgsecyTpLEeQDiI3h+XQ+Ab9mPqt9W+XhUJL98GF31RZxJHaend774Dgajxslg+5e4fCFuhCtN/79a8P2klLKG9GFb8aeNJu9ti7Rr74= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704567287; c=relaxed/simple; bh=KzDcNo6h8Rrm4jQdHE3fJIYxuueQVWcFzAmkwlbWa+s=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=P/nqkpclQQszbJcrT/fGQa+kNFsECfiqvzx7SIKU/qkMHNNXScgm3MKq1ziAVASnGWE29V9SiqlGvou+qSWny1RfaGi/8V1VCc2FMUTpnDrrV4fwVxebmS5g6tnngUgbGu8nBFKFp3f+RewdblULwUpfB2x+xG7OuwBqTX2O2Gw= ARC-Authentication-Results: i=1; server2.sourceware.org X-CSE-ConnectionGUID: A0ufJUGjQOqi70e/GHZ7eg== X-CSE-MsgGUID: /ZrRIXeISaaitAO2ma3hBw== X-IronPort-AV: E=Sophos;i="6.04,337,1695715200"; d="scan'208";a="30827365" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa1.mentor.iphmx.com with ESMTP; 06 Jan 2024 10:54:43 -0800 IronPort-SDR: SD6Go3SD4I91D5a422HNXR9lJ6UQMAp9fSOUL1aTfdMW/tZwFux58aSpLbD/+80K/aA/Lj/3CS SVNp7yRGMwbTJyhm9Ywy+PVcWt0Q7IA/gZFp3OuPdY+KOP+TEdVosgo1TNf4KLkehIPopgibAE M5xd+A/RR9CzzQgpqyvroCkSmX4ohADWANbo7ITzbT6F+DeabI77LGzWsWTVZ6lZjYlMfYcoK9 +zIozy1cxsRaBplxrTADHoVsiF31vpaWjtu0uYRDNcE5iniGeuN3NXl2LCwgtRAdaiiyYU7563 +XI= From: Sandra Loosemore To: CC: , , Subject: [PATCH 8/8] OpenMP: Update documentation of metadirective implementation status. Date: Sat, 6 Jan 2024 11:52:56 -0700 Message-ID: <20240106185257.126445-9-sandra@codesourcery.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240106185257.126445-1-sandra@codesourcery.com> References: <20240106185257.126445-1-sandra@codesourcery.com> MIME-Version: 1.0 X-ClientProxiedBy: svr-orw-mbx-10.mgc.mentorg.com (147.34.90.210) To svr-orw-mbx-13.mgc.mentorg.com (147.34.90.213) X-Spam-Status: No, score=-10.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org libgomp/ChangeLog * libgomp.texi (OpenMP 5.0): Mark metadirective as implemented. (OpenMP 5.1): Mark target_device as partially supported. (OpenMP 5.2): Mark otherwise clause as supported, note that default is also still accepted. --- libgomp/libgomp.texi | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/libgomp/libgomp.texi b/libgomp/libgomp.texi index c727850397d..8ef22086653 100644 --- a/libgomp/libgomp.texi +++ b/libgomp/libgomp.texi @@ -192,7 +192,7 @@ The OpenMP 4.5 specification is fully supported. @item Array shaping @tab N @tab @item Array sections with non-unit strides in C and C++ @tab N @tab @item Iterators @tab Y @tab -@item @code{metadirective} directive @tab N @tab +@item @code{metadirective} directive @tab Y @tab @item @code{declare variant} directive @tab P @tab @emph{simd} traits not handled correctly @item @var{target-offload-var} ICV and @code{OMP_TARGET_OFFLOAD} @@ -289,8 +289,11 @@ The OpenMP 4.5 specification is fully supported. @headitem Description @tab Status @tab Comments @item OpenMP directive as C++ attribute specifiers @tab Y @tab @item @code{omp_all_memory} reserved locator @tab Y @tab -@item @emph{target_device trait} in OpenMP Context @tab N @tab -@item @code{target_device} selector set in context selectors @tab N @tab +@item @emph{target_device trait} in OpenMP Context @tab Y +@item @code{target_device} selector set in context selectors @tab P + @tab Supported only for @code{metadirective}. + The @code{declare variant} construct does not yet support dynamic + selectors. @item C/C++'s @code{declare variant} directive: elision support of preprocessed code @tab N @tab @item @code{declare variant}: new clauses @code{adjust_args} and @@ -413,8 +416,10 @@ to address of matching mapped list item per 5.1, Sect. 2.21.7.2 @tab N @tab @item Deprecation of traits array following the allocator_handle expression in @code{uses_allocators} @tab N @tab @item New @code{otherwise} clause as alias for @code{default} on metadirectives - @tab N @tab -@item Deprecation of @code{default} clause on metadirectives @tab N @tab + @tab Y @tab +@item Deprecation of @code{default} clause on metadirectives @tab N + @tab Both @code{otherwise} and @code{default} are accepted + without diagnostics. @item Deprecation of delimited form of @code{declare target} @tab N @tab @item Reproducible semantics changed for @code{order(concurrent)} @tab N @tab @item @code{allocate} and @code{firstprivate} clauses on @code{scope}