openacc.c (acc_on_device): Add routine pragma for C++ wrapper.
authorNathan Sidwell <nathan@acm.org>
Wed, 6 Jan 2016 15:47:14 +0000 (15:47 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 6 Jan 2016 15:47:14 +0000 (15:47 +0000)
commite9b596c13252df2f1cea3f27183e9969ede54fbd
tree945fd4e724f1c10ee1609968b449d1da268975fe
parent7c961392a68dcf032ec75aa38a41b6ec7d8ec477
openacc.c (acc_on_device): Add routine pragma for C++ wrapper.

* openacc.c (acc_on_device): Add routine pragma for C++ wrapper.
* testsuite/libgomp.oacc-c-c++-common/acc-on-device-2.c: New.

From-SVN: r232104
libgomp/ChangeLog
libgomp/openacc.h
libgomp/testsuite/libgomp.oacc-c-c++-common/acc-on-device-2.c [new file with mode: 0644]