diff options
author | Tobias Burnus <tburnus@baylibre.com> | 2024-02-27 17:30:38 +0100 |
---|---|---|
committer | Tobias Burnus <tburnus@baylibre.com> | 2024-02-27 17:30:38 +0100 |
commit | 8b3f1edf9b38cb8a88c0a101a675d092bf6135d2 (patch) | |
tree | e551c415280c8bd14e8effdc2be46fcd67d39c21 /gcc | |
parent | 43ad6ce60108acc822efcd394b75e270c1996cb5 (diff) | |
download | gcc-8b3f1edf9b38cb8a88c0a101a675d092bf6135d2.zip gcc-8b3f1edf9b38cb8a88c0a101a675d092bf6135d2.tar.gz gcc-8b3f1edf9b38cb8a88c0a101a675d092bf6135d2.tar.bz2 |
OpenACC: Add Fortran routines acc_{alloc,free,hostptr,deviceptr,memcpy_{to,from}_device*}
These routines map simply to the C counterpart and are meanwhile
defined in OpenACC 3.3. (There are additional routine changes,
including the Fortran addition of acc_attach/acc_detach, that
require more work than a simple addition of an interface and
are therefore excluded.)
libgomp/ChangeLog:
* libgomp.texi (OpenACC Runtime Library Routines): Document new 3.3
routines that simply map to their C counterpart.
* openacc.f90 (openacc): Add them.
* openacc_lib.h: Likewise.
* testsuite/libgomp.oacc-fortran/acc_host_device_ptr.f90: New test.
* testsuite/libgomp.oacc-fortran/acc-memcpy.f90: New test.
* testsuite/libgomp.oacc-fortran/acc-memcpy-2.f90: New test.
* testsuite/libgomp.oacc-c-c++-common/lib-59.c: Crossref to f90 test.
* testsuite/libgomp.oacc-c-c++-common/lib-60.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/lib-95.c: Likewise.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions