OpenACC 1.0 compatibility: acc_async_wait, acc_async_wait_all
authorThomas Schwinge <thomas@codesourcery.com>
Wed, 24 May 2017 13:25:01 +0000 (15:25 +0200)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Wed, 24 May 2017 13:25:01 +0000 (15:25 +0200)
commit7ce6440371a57a4c23eff770056e7b24aa30b204
treeb60bb3f657f6dcfe63f5785355e867d7417b70b6
parent318686c21a49aa7dbf6d04e510e6e513195256e3
OpenACC 1.0 compatibility: acc_async_wait, acc_async_wait_all

libgomp/
* openacc.h (acc_async_wait, acc_async_wait_all): New prototypes.
* libgomp.map (OACC_2.0.1): Add these.
* oacc-async.c (acc_async_wait, acc_async_wait_all): New aliases
for "acc_wait", and "acc_wait_all", respectively.
* openacc.f90 (acc_async_wait, acc_async_wait_all): New interfaces
for "acc_wait", and "acc_wait_all", respectively.
* openacc_lib.h (acc_async_wait, acc_async_wait_all): Likewise.
* libgomp.texi (acc_wait, acc_wait_all): Update.
* testsuite/libgomp.oacc-c-c++-common/par-reduction-2.c: Update.
* testsuite/libgomp.oacc-fortran/par-reduction-2-1.f: New file.
* testsuite/libgomp.oacc-fortran/par-reduction-2-2.f: Likewise.

From-SVN: r248413
libgomp/ChangeLog
libgomp/libgomp.map
libgomp/libgomp.texi
libgomp/oacc-async.c
libgomp/openacc.f90
libgomp/openacc.h
libgomp/openacc_lib.h
libgomp/testsuite/libgomp.oacc-c-c++-common/par-reduction-2.c
libgomp/testsuite/libgomp.oacc-fortran/par-reduction-2-1.f [new file with mode: 0644]
libgomp/testsuite/libgomp.oacc-fortran/par-reduction-2-2.f [new file with mode: 0644]