From patchwork Fri Mar 1 14:08:20 2024
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Patchwork-Submitter: Thomas Schwinge
X-Patchwork-Id: 208865
Return-Path:
Delivered-To: ouuuleilei@gmail.com
Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id
gs23csp1101943dyb;
Fri, 1 Mar 2024 06:09:18 -0800 (PST)
X-Forwarded-Encrypted: i=3;
AJvYcCW7584z2o8eigj8p30z0afL6YvRO79ENrO7+MZt45LeSIfHIL9zvBI3N0Q9stznMFbDFmp/q9nMz/4MtiZB+DNBAKhzWA==
X-Google-Smtp-Source:
AGHT+IHb9h7HvfB1Br2Ho/EiLXdc4FNRl/4t4cI8LScwZEIW7ITBzoM2MFszS3mLMnFFYVLrj6iD
X-Received: by 2002:a05:622a:110:b0:42e:ba5d:7c95 with SMTP id
u16-20020a05622a011000b0042eba5d7c95mr1944416qtw.8.1709302158784;
Fri, 01 Mar 2024 06:09:18 -0800 (PST)
ARC-Seal: i=2; a=rsa-sha256; t=1709302158; cv=pass;
d=google.com; s=arc-20160816;
b=RzskbcFmeKNzalJN/1T8dw7XV1mXHFQV4uBPN3Ejn5CgFIZRaA1l5Fig01cKOi2KiG
Wg9ChhZPeduTqkgK6mc4jzcxs/VxyuNcaYG4DjKU4xybg35BJgucfns5UOGFzOg/wD9z
brKG2iJii8gIW6qEKkPmPAV1pdeAWEdAc2GtAJim3DuQhK0FPiHnCPE7zIn3XAnojW+g
huVoPBrqPtUT5VS9keC7juSItCPCAfuvjxL9G2FRBDtFT/3zS7r7CcXEqWMco/gajeiR
pg21jYtQ0+IJkH0J4/2En+wxhVhZjgutp/qPKLahIZIzpZ2wqTPQui8NJC71DQY/D4yc
EvHg==
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:mime-version:message-id:date
:user-agent:references:in-reply-to:subject:cc:to:from:dkim-signature
:arc-filter:dmarc-filter:delivered-to;
bh=ivqqtkmL+HuSYUByFeNwY3fYkyMn9BZZDIEKU9y/UEw=;
fh=v/mSKNd4pX7gqS/eBq1YjQ4uD2Y2DDkT6uHIJF4nJi8=;
b=CuPXSITFHeL4xsW6DOA3Aj8AWZ4/DwT29iaB5xkXklh89DDfur70wUeFkcMIcBFU8q
0WgtG7yAMv9BJ8IsNpdzZ/QOZmgbrQHwYygdJKiAMZ+JW2LuSCclSfmesYWnaimMjcYP
hkMcWPNPPZf+kKb030wXVVPuSx02ULDky9pUksNrTUCX3M5bsMyzbyRdZXjpf+zSZuD9
3IiqwVQTcEBvj5gjavEwUbj6LtiF2WIhseXbRyAA81vNemRc6sFBAqbmtqCvxw8QBj6q
RjpQLth2c3YZoujDn36n/XUdfVbOqRHCuTTDaSOqcgvPz/OyB5DfX872dK9MPOWjjiv8
JsIw==;
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=Tk99Z1xa;
arc=pass (i=1);
spf=pass (google.com: domain of
gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates
2620:52:3:1:0:246e:9693:128c as permitted sender)
smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"
Received: from server2.sourceware.org (server2.sourceware.org.
[2620:52:3:1:0:246e:9693:128c])
by mx.google.com with ESMTPS id
e14-20020a05622a110e00b0042e81bfd511si3872853qty.109.2024.03.01.06.09.18
for
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 01 Mar 2024 06:09:18 -0800 (PST)
Received-SPF: pass (google.com: domain of
gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates
2620:52:3:1:0:246e:9693:128c as permitted sender)
client-ip=2620:52:3:1:0:246e:9693:128c;
Authentication-Results: mx.google.com;
dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com
header.s=20230601 header.b=Tk99Z1xa;
arc=pass (i=1);
spf=pass (google.com: domain of
gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates
2620:52:3:1:0:246e:9693:128c 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 743E33858C31
for ; Fri, 1 Mar 2024 14:09:18 +0000 (GMT)
X-Original-To: gcc-patches@gcc.gnu.org
Delivered-To: gcc-patches@gcc.gnu.org
Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com
[IPv6:2a00:1450:4864:20::62c])
by sourceware.org (Postfix) with ESMTPS id E776C3858D39
for ; Fri, 1 Mar 2024 14:08:27 +0000 (GMT)
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E776C3858D39
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 E776C3858D39
Authentication-Results: server2.sourceware.org;
arc=none smtp.remote-ip=2a00:1450:4864:20::62c
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709302110; cv=none;
b=Bf+KS11DiAJbFSWMcVxb6n8nn5ApBsIOaVjcEl/L4HssfuwhgI1FVK0Rx4Et2td58NAANfFnh0QOfw48qzVF/7EqLcPEBQdFa6MGGW8IHyxovJxDfiYkKRsTHuFfueL8jQtWtcIZetMue2MdB7T3VRKpw6WiGorPMCIEzCJs1bA=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1709302110; c=relaxed/simple;
bh=g0noLrBxb+Eou1nxPmrXBBX50dy7ACqRTWoHtYN0u2s=;
h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;
b=XTvCEtlYLz+jz77GrpnJVHsKJ42UOKw3+nU/APcqpkUxkpgyuPgrOJmm84FNjTj2flCzOP3dnUZBr+ZtpyCtnHnz5M8ytbElGq+GxRLDQBE70Y0AiibgljEFLmvGoc0GuBd+VT4WDW1daYdMiCHMhhOYfjzlCYtOc5s7Bj/PhGs=
ARC-Authentication-Results: i=1; server2.sourceware.org
Received: by mail-ej1-x62c.google.com with SMTP id
a640c23a62f3a-a3fb8b0b7acso316872666b.2
for ; Fri, 01 Mar 2024 06:08:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1709302106;
x=1709906906;
darn=gcc.gnu.org;
h=mime-version:message-id:date:user-agent:references:in-reply-to
:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
bh=ivqqtkmL+HuSYUByFeNwY3fYkyMn9BZZDIEKU9y/UEw=;
b=Tk99Z1xaAzQsZYjfZGTDZzbsHErv+YpcWbcAy13ulmrbaozWeZdFOFU9YnXtcdi4Ep
TLIKDxnrUFq4us/MiTWdWiHUwn7e60SfBKV7e1KaNvJ4h0qfmp6PvVvy1RLqdGyKiH+h
yb65Tjmf+WcCXLGPIB1LYUROIMtQYI64E78OLAjiRlJe0Lk6gu7pbiyFUcSauu/nAVSJ
fGCyph78lscv1wLqcbqLbyBV44r3xCJyWux1gMqVxSI+VAAbuFrF97itlR/7W7yONNlE
xlyqnvuGP8KSAOfvtlAAvEFHKL/eNxRmZRJYp+SZH9FHMDkTBCgeQpIJhM93BZ+gsp67
5OTQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1709302106; x=1709906906;
h=mime-version:message-id:date:user-agent:references:in-reply-to
:subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
:message-id:reply-to;
bh=ivqqtkmL+HuSYUByFeNwY3fYkyMn9BZZDIEKU9y/UEw=;
b=ESiDyyysGC9u5NLjNm2lpX5/fK0S0XHnNk1Ws1aZ3OQSzjHDMTAJjggChj96JXaric
W5hDb0yEy9hJ8G4p4bxNzqmVk2CbfROLI+csqQqZIVK2ekzfM/i1EDK/+mpx6/l0EzN1
nKdqG60kNAtfou6QWrXrQkLsY5eIEhR7K1NuEMme9m8SjCWEPgvbaGtmMc5RQa5zkXx5
oVGZ7KxhMF1QuwiAHynrqN2gm3rj2sIdd68rGWS7ZCuaQ3Z/pZkUlTS5zjqh4/8A/W3i
Xs8qC/3N3CmUt/EW3kN4UkpMH4yksetLJ5q3RrvAalw8QQPqijyN4aY6/PAexYnfl5qh
Ap3A==
X-Forwarded-Encrypted: i=1;
AJvYcCW0tkIFb0mi3ScnBxbSSn+92nK11iGm+pHW91JgtvBfPsVj/AxVhMimHHUC0/WSUllZE1t8R4jT/w+hqdlQFIwX9RTC02Vuaw==
X-Gm-Message-State: AOJu0YxobO2i1V23YpljKKPugRvWnWWW5ETeKG1qy8uxctYvwl0P/Wlk
OjO/lR2p49uFBQEJr4VrRHHPtxHZEiSn59o2PanvuRN4O41VoA5P9XzMPNcL12A=
X-Received: by 2002:a17:906:a409:b0:a44:4e66:e5ce with SMTP id
l9-20020a170906a40900b00a444e66e5cemr1470299ejz.12.1709302106549;
Fri, 01 Mar 2024 06:08:26 -0800 (PST)
Received: from euler.schwinge.homeip.net
(p200300c8b70336000b0134869109dcb1.dip0.t-ipconnect.de.
[2003:c8:b703:3600:b01:3486:9109:dcb1])
by smtp.gmail.com with ESMTPSA id
vo10-20020a170907a80a00b00a3d9a94b13fsm1720000ejc.136.2024.03.01.06.08.26
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 01 Mar 2024 06:08:26 -0800 (PST)
From: Thomas Schwinge
To: Tobias Burnus , gcc-patches@gcc.gnu.org
Cc: Gerald Pfeifer , Jakub Jelinek ,
Bernhard Reutner-Fischer
Subject: Update GCC 14 OpenACC changes some more (was: [wwwdocs]
gcc-14/changes.html + projects/gomp/: OpenMP + OpenACC update)
In-Reply-To:
References:
User-Agent: Notmuch/0.29.3+94~g74c3f1b (https://notmuchmail.org) Emacs/29.1
(x86_64-pc-linux-gnu)
Date: Fri, 01 Mar 2024 15:08:20 +0100
Message-ID: <87plwe6o4r.fsf@euler.schwinge.ddns.net>
MIME-Version: 1.0
X-Spam-Status: No, score=-10.4 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: 1792333219985445257
X-GMAIL-MSGID: 1792333219985445257
Hi!
On 2024-02-27T20:16:52+0100, Tobias Burnus wrote:
> Minor update for older and more recent changes.
>
> Comments?
> gcc-14/changes.html + projects/gomp/: OpenMP + OpenACC update
> Update OpenACC for one new feature (Fortran interface to exisiting
> C/C++ routines).
> --- a/htdocs/gcc-14/changes.html
> +++ b/htdocs/gcc-14/changes.html
> + OpenACC 3.2: The following API routines are now available in
> + Fortran using the openacc
module or the
> + open_lib.h
header file: acc_alloc
,
> + acc_free
, acc_hostptr
,
> + acc_deviceptr
, acc_memcpy_to_device
,
> + acc_memcpy_to_device_async
,
> + acc_memcyp_from_device
and
> + acc_memcyp_from_device_async
.
Thanks -- but you have to improve your copy'n'paste skills. ;-P
On top of your wwwdocs commit f92f353bb0e932edba7d063b2609943683cf0a36
"gcc-14/changes.html + projects/gomp/: OpenMP + OpenACC update", I've
pushed commit df2bc49fc018c2b1aeb27030fe1967470d0d4ec3
"Update GCC 14 OpenACC changes some more", see attached.
Grüße
Thomas
From df2bc49fc018c2b1aeb27030fe1967470d0d4ec3 Mon Sep 17 00:00:00 2001
From: Thomas Schwinge
Date: Fri, 1 Mar 2024 15:01:54 +0100
Subject: [PATCH] Update GCC 14 OpenACC changes some more
Follow-up to commit f92f353bb0e932edba7d063b2609943683cf0a36
"gcc-14/changes.html + projects/gomp/: OpenMP + OpenACC update":
- 's%acc_alloc%acc_malloc'
- add 'acc_map_data' and 'acc_unmap_data'
- swap 'acc_deviceptr' and 'acc_hostptr'
- 's%memcyp%memcpy%g'
---
htdocs/gcc-14/changes.html | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html
index e8004d4a..d88fbc96 100644
--- a/htdocs/gcc-14/changes.html
+++ b/htdocs/gcc-14/changes.html
@@ -120,12 +120,14 @@ a work-in-progress.
constructs.
OpenACC 3.2: The following API routines are now available in
Fortran using the openacc
module or the
- openacc_lib.h
header file: acc_alloc
,
- acc_free
, acc_hostptr
,
- acc_deviceptr
, acc_memcpy_to_device
,
+ openacc_lib.h
header file:
+ acc_malloc
, acc_free
,
+ acc_map_data
, acc_unmap_data
,
+ acc_deviceptr
, acc_hostptr
,
+ acc_memcpy_to_device
,
acc_memcpy_to_device_async
,
- acc_memcyp_from_device
, and
- acc_memcyp_from_device_async
.
+ acc_memcpy_from_device
, and
+ acc_memcpy_from_device_async
.
For offload-device code generated via OpenMP and OpenACC, the math
--
2.43.0