From patchwork Sat May 4 21:21:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandra Loosemore X-Patchwork-Id: 1931422 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.a=rsa-sha256 header.s=20230601 header.b=eSKLKY7X; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VX0yj6WKnz1ybC for ; Sun, 5 May 2024 07:23:25 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id DD8C4386F420 for ; Sat, 4 May 2024 21:23:23 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) by sourceware.org (Postfix) with ESMTPS id 570913844036 for ; Sat, 4 May 2024 21:22:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 570913844036 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=baylibre.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 570913844036 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::d36 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714857754; cv=none; b=IV2edHrAHPupXXvr8HcRviSjfRtefipcF8SmIaRxhcAP+KBfrB7P4WVL3YMP7DV+pZXApMOu2G0za15otUDXDlxch6RhODjiGROb7JWhepTlOziaPF5OtLde2Uxk2vf23a4CUy3DdkPmDfLuphA/Z/A+ZdTiaxMkURa1MPwsLFM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714857754; c=relaxed/simple; bh=O+2RpxoY6SCT9rLpLqfE7Tq2mcTzunjvyM6JScAbkU8=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=rzx9+eT4GpCGKihjP5yl/BtnAYWpsQ/jeMQpUko+5rqD0UJmiIlEZaq7/mYU+7ra+wcm3jc8zNJJKaFUwi37rzr8ItIV9iYTHGtuHIn9/RbpFr/KqJMvjcn0qCjajYmBgJ3hOv4y8HwEw3oZ85XR65dUctyQFRsHsIH+8d+HKg4= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-io1-xd36.google.com with SMTP id ca18e2360f4ac-7dee37ea263so52578139f.2 for ; Sat, 04 May 2024 14:22:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1714857744; x=1715462544; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=mXko7STqZ23PEHoKwb9wyjyBW8iYaby0gSgCcLREK4E=; b=eSKLKY7XFBaBo44/6tj7JvrGh7ju2OEXJNwnxh6LVWgxIC615MJtOBZzVOPX76wufy 49FkFaeHgYhtJm+WcBv4vVSMg90/d66iWRh/msz0xCvx/47W4QNnLlU6j+Jsu6tIBGQC yYqw/2emdb4mH9jGDPUyx/1xY4bLHBoUfPp81amJDalVCctPiXTXldi5Dby47Jocjv4l oea4/MjDltUMzh099itSIm7e4oc+04JEDw4+mng1L1Q4kMpiQGRl7bNofmy6ZHpiAcY9 7vGYfGr/XG5S5eSLYSO1vzVPSYzWZQb1s+NWyo7F4wyRLDXn3VIsUNLvVl+4kWTrphsT vvIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714857744; x=1715462544; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mXko7STqZ23PEHoKwb9wyjyBW8iYaby0gSgCcLREK4E=; b=oEpvBgRWQA5azWeb5xyZ81YW0V3A8XOSlvQbdDihHe8e9RJQto+2OEiwhFu2IezLC/ mRZCNzf5EbkoouKEntT4Mi8We/iYrNitkI65ukp/naxvUdX2Lsnn0NHGJM7fWcHHf/GC UILfCquKalhLnbAUGdl3iDgeqKFoer960Tb7YUmmpJMFUFEMrYv0e8ppdu7nhlKXokQS DzJs0g1XLhLduU8VvZhg+VZqfRi7c4EL7S+YvgmHfN0KOCFZfJUQYGRiUQFl87jUpl+W dvMtpEse44g+XhM5zEgfRouy5rc2GBfhaiDgou+HambxPjiP/beJUnFfUPKICQ+U4e94 6yYg== X-Gm-Message-State: AOJu0YyJ4Y2OueHrwfgDTs1NugTZc2SjTkDlUY9P80rjFDgOb8NNQyar LeSSN4UumrzFu29bhGZxtpHyMP/25voik210/9OSqX2HczrbtT8HTfdZ1Vhg07+jha/puQ4vdcW e X-Google-Smtp-Source: AGHT+IGj8NjyPuH/ueq7tuhiXcPwMFnmsyKVEsXi9DdPNHw4vfCeIGM8gS9XQ1JPbAJxb3FdjqjeTA== X-Received: by 2002:a5d:894f:0:b0:7de:af76:b6c6 with SMTP id b15-20020a5d894f000000b007deaf76b6c6mr7118559iot.2.1714857744610; Sat, 04 May 2024 14:22:24 -0700 (PDT) Received: from pondscum.hsd1.co.comcast.net ([2601:281:d901:5620:3e29:4728:ec99:5098]) by smtp.gmail.com with ESMTPSA id ez3-20020a056638614300b004877be21febsm1559468jab.62.2024.05.04.14.22.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 May 2024 14:22:24 -0700 (PDT) From: Sandra Loosemore To: gcc-patches@gcc.gnu.org Cc: jakub@redhat.com, tburnus@baylibre.com Subject: [PATCH 12/12] OpenMP: Update documentation of metadirective implementation status. Date: Sat, 4 May 2024 15:21:52 -0600 Message-Id: <20240504212153.3561429-13-sloosemore@baylibre.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240504212153.3561429-1-sloosemore@baylibre.com> References: <20240504212153.3561429-1-sloosemore@baylibre.com> MIME-Version: 1.0 X-Spam-Status: No, score=-11.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP 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+incoming=patchwork.ozlabs.org@gcc.gnu.org libgomp/ChangeLog * libgomp.texi (OpenMP 5.0): Mark metadirective and declare variant as implemented. (OpenMP 5.1): Mark target_device as supported. Add changed interaction between declare target and OpenMP context and dynamic selector support. (OpenMP 5.2): Mark otherwise clause as supported, note that default is also still accepted. --- libgomp/libgomp.texi | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/libgomp/libgomp.texi b/libgomp/libgomp.texi index 43048da4d6e..af7af63c504 100644 --- a/libgomp/libgomp.texi +++ b/libgomp/libgomp.texi @@ -192,9 +192,8 @@ 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{declare variant} directive - @tab P @tab @emph{simd} traits not handled correctly +@item @code{metadirective} directive @tab Y @tab +@item @code{declare variant} directive @tab Y @tab @item @var{target-offload-var} ICV and @code{OMP_TARGET_OFFLOAD} env variable @tab Y @tab @item Nested-parallel changes to @var{max-active-levels-var} ICV @tab Y @tab @@ -289,8 +288,8 @@ 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 Y @tab @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 @@ -366,6 +365,12 @@ to address of matching mapped list item per 5.1, Sect. 2.21.7.2 @tab N @tab @item @code{device_type(nohost)}/@code{device_type(host)} for variables @tab N @tab @item @code{present} modifier to the @code{map}, @code{to} and @code{from} clauses @tab Y @tab +@item Changed interaction between @code{declare target} and OpenMP context + @tab Y @tab +@item Dynamic selector support in @code{metadirective} @tab Y @tab +@item Dynamic selector support in @code{declare variant} @tab P + @tab Fortran rejects non-constant expressions in dynamic selectors; + C/C++ reject expressions using argument variables. @end multitable @@ -413,8 +418,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}