On Wed, Jan 06, 2016 at 10:48:52AM -0500, Nathan Sidwell wrote:
> I've committed this to trunk.  C++ needs a wrapper function to deal with the
> enumerated type argument.   Usually that's inlined, but when not optimizing
> we need to emit a definition of the wrapper.  That means marking it as an
> openacc routine.
> 
> nathan

> 2016-01-06  Nathan Sidwell  <nat...@acm.org>
> 
>       * openacc.c (acc_on_device): Add routine pragma for C++ wrapper.

s/\.c/\.h/

>       * testsuite/libgomp.oacc-c-c++-common/acc-on-device-2.c: New.

Otherwise LGTM.

        Jakub

Reply via email to