From patchwork Thu Feb 15 21:37:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kwok Cheung Yeung X-Patchwork-Id: 201758 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp137279dyb; Thu, 15 Feb 2024 13:38:43 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX2cy8npKrmLsFa51SNB9ACHBpJKPGqQjCBYxV8W6AJzRQQFrBJrlu0X2Di6YXmGlDtHAZ7T5kgLx+cTvMsvFIwMPqMDg== X-Google-Smtp-Source: AGHT+IEst6EgJI/rMaPBEEWs6BhthDebIfX8Yrx9CKpUsllI31a1XZirph8N9smKKvWlywlQW79L X-Received: by 2002:a0c:8f0a:0:b0:686:8ffe:1278 with SMTP id z10-20020a0c8f0a000000b006868ffe1278mr2658277qvd.4.1708033123323; Thu, 15 Feb 2024 13:38:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708033123; cv=pass; d=google.com; s=arc-20160816; b=ZY65u5w9vmsFGt7z2yRyp6uroRd+WcdUL121giFHQ38BPDT73iJZgNK7Nsc+ZcJcRU WFoDjRMBP+dz99mIVNv1TlgszbkN9RByn814pF92UZClAVsdCxSqmBsDiiPZ+qsMuyvj 9unmyNQ0GEXf7OAa0hOGj68vInTpM+hhVVE6pqY+W2wkSeHjnMsQV09UXs5Z5cZoc6eU nXETG0PohEcVrvO14RTtPgriBs8g9jRlh8BEhFV9tl4/H2pxQyE/X7UzooRmQ0dyhvmS 0LqLZ/ymtBOL21D2BONKax78SboTafue9Vc57uytV5HMiyMXzZGxe0r4JBaGa21p8nMp A30g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:in-reply-to:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=qK5dGdD7bvgsCrUX61/m+JggydHgD4wYIXa0PbzEmXg=; fh=NAWfyPdZmCbeWYwqHTzDlm749jsJFmN3J/qQ1jXOEM0=; b=ALIEBZ0pFZ1rJq8KGidBBSUabzDO9FlUiQMp0hxFixaHf6ZkWI+i7JwUATqjmDOHZN DAqgPxWGPK6xeQD64NpDFRzucUeOXGhFI8rrOOqYTMFBAh8mlRpK+CLqb+TZDMC4ICu5 ldf09Cj1vXoOasKialBiOKSCcy2C3ZaO6QfQXHAygTMBH8UQYPmllYosZ/92eHA932xY W6k8XHZjwOag17LqhlwF3SalTSzOfgWc7wLxka6RaBaxa6WJxTv5pJ6ibexOk9+slAKn xkBQTpa8bJFIZr1kZrxCMdSez0W9vQxRqxm+v4RvsMLp5+Hj2g8Oq7TVnu0ckNKOzQPV +cvg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=c2YenlFe; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id fv1-20020a056214240100b0068f2de17479si771457qvb.91.2024.02.15.13.38.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 13:38:43 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=c2YenlFe; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 04EA6386D626 for ; Thu, 15 Feb 2024 21:38:43 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by sourceware.org (Postfix) with ESMTPS id 8FF493857B88 for ; Thu, 15 Feb 2024 21:38:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8FF493857B88 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 8FF493857B88 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::329 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708033083; cv=none; b=mUDK7vojm+zFhgcX9wxNVrM7/WqO4kTDsCHBVkoGicHClgDgJ697BXymojVqUxUk67PM8OB+2iX8OfggeRnGJg7+R+ukEccm5bi5MI+mp3VVez+o3DKkznfEpnpbAE2XNnHIJr2/sDrCtz1NIChZJ8wdTdZibAmOszOaW2LMqpo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708033083; c=relaxed/simple; bh=XudRXgbGR0we3TVrSTWfwPjuqEFUvIx/h4eDB/7/YNI=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=v+lNm/LsvqJUzt2Q6/DXHjMEcfqvU/3tpTN4zIQcG5oPGWICXBOmtZ5gFGJPuBpk2NUOb5MJe/muBg3NZSqBM4OPzlMZzrmzJSePHNddQjhb11pbkTb4maEESk1cJEzQPCCyfW6Y7+6IyFXI4yX+2pVPLvdaoA5VhFqkmEx6QpI= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-40fd72f7125so11335335e9.1 for ; Thu, 15 Feb 2024 13:38:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1708033079; x=1708637879; darn=gcc.gnu.org; h=in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=qK5dGdD7bvgsCrUX61/m+JggydHgD4wYIXa0PbzEmXg=; b=c2YenlFe9mnEkKukvzRcEIV1fecfx429OWXgHNIx2Ks0LNALDcZsLr5an2Mjx/qerD GtmoeNBSIrESe055MGr6LasjcWKp6ebuasikX0pXjLiafmzSAlIyMSm+5mdvqahRH1mL bsH8UctujuxUo9Lwrnt9khyjJd8a5dCUMbaH//C02t1MMR75BelVVwQMqGJGjPCOGd2L Lba2ABoo2/eAJCpbbH6h8XLru5jJczJuIEZDNIBkjyRvYq97dDUgsjU3CWdMMn3WlIM3 yzP0D6+l+J1CwLbIBDpSqa09LXWbqwko2KKkf8ufLSUiLKYYHEKHfUbik9GOozYbUfnu wh/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708033079; x=1708637879; h=in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=qK5dGdD7bvgsCrUX61/m+JggydHgD4wYIXa0PbzEmXg=; b=gkvvIrtz828VmxAaTE4drSt9SZJNaZGThTy5yz1+uTjCMxUsYv6dcqx7JnPp5EoEU+ IUvHgeCHoNKHqh9mNiYvgfEd3QXzAy9yC9p5TD6OfB8yGNwc5fyooydIEZj7E3FNWaJT uYePzp5zyXkdt0Hh9A9pnmAlU/iy2gbOx76gmiH9L0DlY1Vkc50mKN16LT9hGZL3c03W xA/Tea2et24wIYfHl1z1PCPSTPr0nhJG/258c4WX1XEcgDXVgk8F/lZgqzeAEBEGaj8R p7rWK8hya11PoytS058ASEiyaRUTUBwf5/cGVIn0iMpPMlXK8CaLyualZIYNfLtNirKA zRrA== X-Forwarded-Encrypted: i=1; AJvYcCUKDtdgHn73PFYTQS6ymbrGXKNpU/ovbIbcb1SPfP62Z0m5WkoOwYTzVS3EiiilOZOCo/eCfYKC9ESqTy9VU59KxA7Y4kFczA== X-Gm-Message-State: AOJu0YzPaqYlgP9BF7dhRklnPANpfqvvV9ykL0/IbiyVp0MMjnLuafvq X4fPaHHOog/06AVNgMW3/sRW2QkWt/jFUgPsC5YsBzfTAoAHCmZPBcR+uZfYqT0= X-Received: by 2002:a05:600c:3ba5:b0:40f:f069:8d13 with SMTP id n37-20020a05600c3ba500b0040ff0698d13mr2251818wms.9.1708033079115; Thu, 15 Feb 2024 13:37:59 -0800 (PST) Received: from ?IPV6:2a00:23c6:88e4:c502:adaa:7f59:370d:278c? ([2a00:23c6:88e4:c502:adaa:7f59:370d:278c]) by smtp.gmail.com with ESMTPSA id w3-20020a05600c014300b0040fccf7e8easm315489wmm.36.2024.02.15.13.37.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Feb 2024 13:37:58 -0800 (PST) Message-ID: <2eadb7dd-6fa9-42ec-adbd-bdf93060be95@baylibre.com> Date: Thu, 15 Feb 2024 21:37:40 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: [COMMITTED] libgomp: Update documentation for indirect calls in target regions Content-Language: en-GB To: Tobias Burnus Cc: Jakub Jelinek , gcc-patches References: <3290a0f5-3b9d-4c3c-b7c5-e9ddec4520c7@baylibre.com> <8ba3944a-44e5-41dd-b78f-95091eb140f6@baylibre.com> <77364452-3d79-438f-a8d1-65aee3f6c3a7@baylibre.com> <400233cd-6085-4f55-9861-b2d222cbfeb7@baylibre.com> From: Kwok Cheung Yeung In-Reply-To: <400233cd-6085-4f55-9861-b2d222cbfeb7@baylibre.com> X-Spam-Status: No, score=-13.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, 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+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791002540001412431 X-GMAIL-MSGID: 1791002540001412431 Hi, I have committed this patch to the libgomp documentation to reflect that indirect calls in offloaded target regions are now supported in C, C++ and Fortran. Kwok From b3b3bd250f0a7c22b7d46d3522c8b94c6a35d22a Mon Sep 17 00:00:00 2001 From: Kwok Cheung Yeung Date: Thu, 15 Feb 2024 21:22:26 +0000 Subject: [PATCH] libgomp: Update documentation for indirect calls in target regions Support for indirect calls to procedures/functions in offloaded target regions is now available for C, C++ and Fortran. 2024-02-15 Kwok Cheung Yeung libgomp/ * libgomp.texi (OpenMP 5.1): Mark indirect call support as fully implemented. --- libgomp/libgomp.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libgomp/libgomp.texi b/libgomp/libgomp.texi index 6ee923099b7..f57190f203c 100644 --- a/libgomp/libgomp.texi +++ b/libgomp/libgomp.texi @@ -313,7 +313,7 @@ The OpenMP 4.5 specification is fully supported. @item Iterators in @code{target update} motion clauses and @code{map} clauses @tab N @tab @item Indirect calls to the device version of a procedure or function in - @code{target} regions @tab P @tab Only C and C++ + @code{target} regions @tab Y @tab @item @code{interop} directive @tab N @tab @item @code{omp_interop_t} object support in runtime routines @tab N @tab @item @code{nowait} clause in @code{taskwait} directive @tab Y @tab @@ -362,7 +362,7 @@ to address of matching mapped list item per 5.1, Sect. 2.21.7.2 @tab N @tab @item For Fortran, diagnose placing declarative before/between @code{USE}, @code{IMPORT}, and @code{IMPLICIT} as invalid @tab N @tab @item Optional comma between directive and clause in the @code{#pragma} form @tab Y @tab -@item @code{indirect} clause in @code{declare target} @tab P @tab Only C and C++ +@item @code{indirect} clause in @code{declare target} @tab Y @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