public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [wwwdocs] gcc-14/changes.html + projects/gomp/: OpenMP + OpenACC update
@ 2024-02-27 19:16 Tobias Burnus
  2024-02-27 21:52 ` Gerald Pfeifer
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tobias Burnus @ 2024-02-27 19:16 UTC (permalink / raw)
  To: gcc-patches, Gerald Pfeifer, Jakub Jelinek, Thomas Schwinge


[-- Attachment #1.1: Type: text/plain, Size: 67 bytes --]

Minor update for older and more recent changes.

Comments?

Tobias

[-- Attachment #2: oacc-omp.diff --]
[-- Type: text/x-patch, Size: 4076 bytes --]

gcc-14/changes.html + projects/gomp/: OpenMP + OpenACC update

Update OpenMP for two meanwhile implemented features (lvalue-expr in map,
indirect now also in Fortran).
Update OpenACC for one new feature (Fortran interface to exisiting
C/C++ routines).

diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html
index 85ccc54d..1c2059b6 100644
--- a/htdocs/gcc-14/changes.html
+++ b/htdocs/gcc-14/changes.html
@@ -79,7 +79,8 @@ a work-in-progress.</p>
     </li>
     <li>OpenMP 5.0: The <code>allocate</code> directive is now
       supported for stack variables in C and Fortran, including the OpenMP 5.1
-      <code>align</code> modifier. For Fortran, OpenMP allocators can now be
+      <code>align</code> modifier. In C and C++, the <code>map</code> clause now
+      accepts lvalue expressions. For Fortran, OpenMP allocators can now be
       used for allocatables and pointers using the <code>allocate</code>
       directive and its OpenMP 5.2 replacement, the <code>allocators</code>
       directive; files using this allocator and all files that might directly
@@ -91,8 +92,8 @@ a work-in-progress.</p>
     <li>
       OpenMP 5.1: Support was added for collapsing imperfectly nested loops and
       using <code>present</code> as map-type modifier and in
-      <code>defaultmap</code>. The <code>indirect</code> clause is now supported
-      for C and C++.  The performance of copying strided data from or to nvptx
+      <code>defaultmap</code>. The <code>indirect</code> clause is now
+      supported. The performance of copying strided data from or to nvptx
       and AMD GPU devices using the OpenMP 5.1 routine
       <code>omp_target_memcpy_rect</code> has been improved.
     </li>
@@ -117,6 +118,14 @@ a work-in-progress.</p>
     <li>OpenACC 2.7: The <code>self</code> clause was added to be used on
       compute constructs and the <code>default</code> clause for data
       constructs.</li>
+    <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>.
   </ul>
   </li>
   <li>For offload-device code generated via OpenMP and OpenACC, the math
diff --git a/htdocs/projects/gomp/index.html b/htdocs/projects/gomp/index.html
index bf20bb88..8fdfb95a 100644
--- a/htdocs/projects/gomp/index.html
+++ b/htdocs/projects/gomp/index.html
@@ -489,7 +489,7 @@ than listed, depending on resolved corner cases and optimizations.</p>
   </tr>
   <tr>
     <td>C/C++'s lvalue expressions in <code>to</code>, <code>from</code> and <code>map</code> clauses</td>
-    <td class="unsupported">No</td>
+    <td class="supported"><a href="../../gcc-14/changes.html#languages">GCC&nbsp;14</a></td>
     <td></td>
   </tr>
   <tr>
@@ -714,8 +714,8 @@ than listed, depending on resolved corner cases and optimizations.</p>
   </tr>
   <tr>
     <td>Indirect calls to the device version of a procedure or function in target regions</td>
-    <td class="partial"><a href="../../gcc-14/changes.html#languages">GCC&nbsp;14</a></td>
-    <td>Only C and C++</td>
+    <td class="supported"><a href="../../gcc-14/changes.html#languages">GCC&nbsp;14</a></td>
+    <td></td>
   </tr>
   <tr>
     <td><code>interop</code> directive</td>
@@ -756,8 +756,8 @@ than listed, depending on resolved corner cases and optimizations.</p>
   </tr>
   <tr>
     <td><code>indirect</code> clause in <code>declare target</code></td>
-    <td class="partial"><a href="../../gcc-14/changes.html#languages">GCC&nbsp;14</a></td>
-    <td>Only C and C++</td>
+    <td class="supported"><a href="../../gcc-14/changes.html#languages">GCC&nbsp;14</a></td>
+    <td></td>
   </tr>
   <tr>
     <td><code>device_type(nohost)</code>/<code>device_type(host)</code> for variables</td>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-03-01 14:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-27 19:16 [wwwdocs] gcc-14/changes.html + projects/gomp/: OpenMP + OpenACC update Tobias Burnus
2024-02-27 21:52 ` Gerald Pfeifer
2024-02-28  8:31 ` Bernhard Reutner-Fischer
2024-03-01 14:08 ` Update GCC 14 OpenACC changes some more (was: [wwwdocs] gcc-14/changes.html + projects/gomp/: OpenMP + OpenACC update) Thomas Schwinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).