On Fri, Feb 26, 2016 at 04:59:42PM +0100, Martin Jambor wrote: > this patch has been written by Keith McDaniel when he was working at > AMD (and so it should be covered by their blanket copyright > assignment) and adds a libgomp testsuite effective target predicate > offload_device_shared_as that allows us to run tests only when target > constructs are run on a device with shared memory (this includes the > host). Keith included a C++ test to illustrate the use. > > I have tested this thoroughly, both with and without HSA (enabled or > present). OK for trunk? > > Thanks, > > Martin > > 2016-02-10 Keith McDaniel <k.allen.mcdan...@gmail.com> > Martin Jambor <mjam...@suse.cz> > > * testsuite/lib/libgomp.exp > (check_effective_target_offload_device_shared_as): New proc. > * testsuite/libgomp.c++/declare_target-1.C: New test.
Ok. Jakub