Re: [openacc] fix unoptimized acc_on_device

2016-01-06 Thread Jakub Jelinek
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] fix unoptimized acc_on_device

2016-01-06 Thread Nathan Sidwell
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 * openacc.c