]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
OpenACC 2.7: adjust 2.6 references to 2.7
authorChung-Lin Tang <cltang@baylibre.com>
Fri, 11 Apr 2025 13:51:55 +0000 (13:51 +0000)
committerChung-Lin Tang <cltang@baylibre.com>
Fri, 11 Apr 2025 13:51:55 +0000 (13:51 +0000)
More adjustments to indicate OpenACC 2.7 support.

2025-04-11  Chung-Lin Tang  <cltang@baylibre.com>

gcc/fortran/ChangeLog:

* intrinsic.texi (OpenACC Module OPENACC): Adjust version
references to 2.7 from 2.6.

libgomp/ChangeLog:

* libgomp.texi (Enabling OpenACC): Adjust version
references to 2.7 from 2.6.
* openacc.f90 (module openacc): Adjust openacc_version to 201811.
* openacc_lib.h (openacc_version): Adjust openacc_version to 201811.
* testsuite/libgomp.oacc-fortran/openacc_version-1.f: Adjust
test value to 201811.
* testsuite/libgomp.oacc-fortran/openacc_version-2.f90: Likewise.

gcc/fortran/intrinsic.texi
libgomp/libgomp.texi
libgomp/openacc.f90
libgomp/openacc_lib.h
libgomp/testsuite/libgomp.oacc-fortran/openacc_version-1.f
libgomp/testsuite/libgomp.oacc-fortran/openacc_version-2.f90

index 0445feaf73a71008d0c3bceeba037c513ba5a715..eedfb83231e79bb306bfa0033b012cae71c36073 100644 (file)
@@ -15400,7 +15400,7 @@ The following scalar integer named constants are of the kind
 @section OpenACC Module @code{OPENACC}
 @table @asis
 @item @emph{Standard}:
-OpenACC Application Programming Interface v2.6
+OpenACC Application Programming Interface v2.7
 @end table
 
 
@@ -15414,9 +15414,9 @@ are listed below.
 
 For details refer to the actual
 @uref{https://www.openacc.org/,
-OpenACC Application Programming Interface v2.6}.
+OpenACC Application Programming Interface v2.7}.
 
 @code{OPENACC} provides the scalar default-integer
 named constant @code{openacc_version} with a value of the form
 @var{yyyymm}, where @code{yyyy} is the year and @var{mm} the month
-of the OpenACC version; for OpenACC v2.6 the value is @code{201711}.
+of the OpenACC version; for OpenACC v2.7 the value is @code{201811}.
index e303cb513c5a6f061d9bf0e38b061573b649dd01..5190a04f6648357969e38f12ff03cbdd46cd9fa3 100644 (file)
@@ -4578,7 +4578,7 @@ See @uref{https://gcc.gnu.org/wiki/OpenACC} for more information.
 
 A complete description of all OpenACC directives accepted may be found in 
 the @uref{https://www.openacc.org, OpenACC} Application Programming
-Interface manual, version 2.6.
+Interface manual, version 2.7.
 
 
 
@@ -4590,14 +4590,14 @@ Interface manual, version 2.6.
 @chapter OpenACC Runtime Library Routines
 
 The runtime routines described here are defined by section 3 of the OpenACC
-specifications in version 2.6.
+specifications in version 2.7.
 They have C linkage, and do not throw exceptions.
 Generally, they are available only for the host, with the exception of
 @code{acc_on_device}, which is available for both the host and the
 acceleration device.
 
 This list has not yet been updated for the OpenACC specification in
-version 2.6.
+version 2.7.
 
 @menu
 * acc_get_num_devices::         Get number of devices for the given device
@@ -4688,7 +4688,7 @@ for the device type specified in @var{devicetype}.
 @end multitable
 
 @item @emph{Reference}:
-@uref{https://www.openacc.org, OpenACC specification v2.6}, section
+@uref{https://www.openacc.org, OpenACC specification v2.7}, section
 3.2.1.
 @end table
 
index 4e24ee46a977b8202e78dfe87705fee4247f482c..6ee68630114daa0f6a0afa971eaba5dc4d89e43c 100644 (file)
@@ -798,7 +798,7 @@ module openacc
   public :: acc_memcpy_to_device, acc_memcpy_to_device_async
   public :: acc_memcpy_from_device, acc_memcpy_from_device_async
 
-  integer, parameter :: openacc_version = 201711
+  integer, parameter :: openacc_version = 201811
 
   interface acc_get_num_devices
     procedure :: acc_get_num_devices_h
index 913c3f1aa3dc91565119098416c228352698a96a..47779125ff29d9c93920926b7abcf7d3af55fe35 100644 (file)
@@ -70,7 +70,7 @@
       integer (acc_handle_kind), parameter :: acc_async_noval = -1
       integer (acc_handle_kind), parameter :: acc_async_sync = -2
 
-      integer, parameter :: openacc_version = 201711
+      integer, parameter :: openacc_version = 201811
 
       interface acc_get_num_devices
         function acc_get_num_devices_h (devicetype)
index 36e9844bb1575cfcd3c65a23fae1e134ca55e516..8d4e3f35880accfcd9be2ebb83bb10958c007d8d 100644 (file)
@@ -4,6 +4,6 @@
       implicit none
       include "openacc_lib.h"
 
-      if (openacc_version .ne. 201711) STOP 1
+      if (openacc_version .ne. 201811) STOP 1
 
       end program main
index e815bc1b82773898dcb890d0ee598a71ef405cd2..c9946c277f6da812eafe0ec11707a6530ac6e87b 100644 (file)
@@ -4,6 +4,6 @@ program main
   use openacc
   implicit none
 
-  if (openacc_version .ne. 201711) STOP 1
+  if (openacc_version .ne. 201811) STOP 1
 
 end program main