Update GCC 14 OpenACC changes some more (was: [wwwdocs] gcc-14/changes.html + projects/gomp/: OpenMP + OpenACC update)

Message ID 87plwe6o4r.fsf@euler.schwinge.ddns.net
State Unresolved
Headers
Series Update GCC 14 OpenACC changes some more (was: [wwwdocs] gcc-14/changes.html + projects/gomp/: OpenMP + OpenACC update) |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

Thomas Schwinge March 1, 2024, 2:08 p.m. UTC
  Hi!

On 2024-02-27T20:16:52+0100, Tobias Burnus <tburnus@baylibre.com> 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

> +    <li>OpenACC 3.2: The following API routines are now available in
> +      Fortran using the <code>openacc</code> module or the
> +      <code>open_lib.h</code> header file: <code>acc_alloc</code>,
> +      <code>acc_free</code>, <code>acc_hostptr</code>,
> +      <code>acc_deviceptr</code>, <code>acc_memcpy_to_device</code>,
> +      <code>acc_memcpy_to_device_async</code>,
> +      <code>acc_memcyp_from_device</code> and
> +      <code>acc_memcyp_from_device_async</code>.

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
  

Patch

From df2bc49fc018c2b1aeb27030fe1967470d0d4ec3 Mon Sep 17 00:00:00 2001
From: Thomas Schwinge <tschwinge@baylibre.com>
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.</p>
       constructs.</li>
     <li>OpenACC 3.2: The following API routines are now available in
       Fortran using the <code>openacc</code> module or the
-      <code>openacc_lib.h</code> header file: <code>acc_alloc</code>,
-      <code>acc_free</code>, <code>acc_hostptr</code>,
-      <code>acc_deviceptr</code>, <code>acc_memcpy_to_device</code>,
+      <code>openacc_lib.h</code> header file:
+      <code>acc_malloc</code>, <code>acc_free</code>,
+      <code>acc_map_data</code>, <code>acc_unmap_data</code>,
+      <code>acc_deviceptr</code>, <code>acc_hostptr</code>,
+      <code>acc_memcpy_to_device</code>,
       <code>acc_memcpy_to_device_async</code>,
-      <code>acc_memcyp_from_device</code>, and
-      <code>acc_memcyp_from_device_async</code>.
+      <code>acc_memcpy_from_device</code>, and
+      <code>acc_memcpy_from_device_async</code>.
   </ul>
   </li>
   <li>For offload-device code generated via OpenMP and OpenACC, the math
-- 
2.43.0