On Fri, Jan 15, 2016 at 17:09:54 +0100, Jakub Jelinek wrote: > On Fri, Jan 15, 2016 at 05:02:34PM +0100, Martin Jambor wrote: > > How do other accelerators cope with the situation when half of the > > application is compiled with the accelerator disabled? (Would some of > > their calls to GOMP_target_ext lead to abort?) > > GOMP_target_ext should never abort (unless internal error), worst case it > just falls back into the host fallback.
Wouldn't that lead to hard-to-find problems in case of nonshared memory? I mean when someone expects that all target regions are executed on the device, but in fact some of them are silently executed on the host with different data environment. -- Ilya