On Mon, May 22, 2017 at 07:42:38PM +0200, Thomas Schwinge wrote: > Hi! > > For OpenACC 1.0 compatibility, we need to provide the aliases > acc_async_wait, and acc_async_wait_all for acc_wait, and acc_wait_all, > respectively. OK for trunk? > > commit 0f8302913db6d2c23804a3463c51a47e623e76b2 > Author: Thomas Schwinge <tho...@codesourcery.com> > Date: Mon May 22 19:22:24 2017 +0200 > > 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): 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.
All I've said about acc_pcopyin applies here too. Except that OACC_1.0 as symbol version might look like a good idea here. Jakub