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: 1906722 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=Tk99Z1xa; 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 4TmVLq37TKz23fC for ; Sat, 2 Mar 2024 01:08:51 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 307A33858C32 for ; Fri, 1 Mar 2024 14:08:49 +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-Google-Smtp-Source: AGHT+IH5SeLeyktZcbYmwi8YxnPNOvqQNNLP8WbGJ1mngX7yVQENWeSlJY6E2XCNxv9kzwXdVAuIXQ== 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+incoming=patchwork.ozlabs.org@gcc.gnu.org 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