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.
@section OpenACC Module @code{OPENACC}
@table @asis
@item @emph{Standard}:
-OpenACC Application Programming Interface v2.6
+OpenACC Application Programming Interface v2.7
@end table
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}.
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.
@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
@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
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
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)
implicit none
include "openacc_lib.h"
- if (openacc_version .ne. 201711) STOP 1
+ if (openacc_version .ne. 201811) STOP 1
end program main
use openacc
implicit none
- if (openacc_version .ne. 201711) STOP 1
+ if (openacc_version .ne. 201811) STOP 1
end program main