[hsa,testsuite] Introduce offload_device_shared_as effective target
authorKeith McDaniel <k.allen.mcdaniel@gmail.com>
Fri, 26 Feb 2016 19:42:31 +0000 (19:42 +0000)
committerMartin Jambor <jamborm@gcc.gnu.org>
Fri, 26 Feb 2016 19:42:31 +0000 (20:42 +0100)
commit622174b20dfaa584abcf950c89aaa1843b146669
tree0d163e1de5fc6350c6dab5b79a0e80159fad844a
parent47dfdc53cd48e4b8dee671785a08ee664ffa1f41
[hsa,testsuite] Introduce offload_device_shared_as effective target

2016-02-26  Keith McDaniel <k.allen.mcdaniel@gmail.com>
    Martin Jambor  <mjambor@suse.cz>

* testsuite/lib/libgomp.exp
(check_effective_target_offload_device_shared_as): New proc.
* testsuite/libgomp.c++/declare_target-1.C: New test.

Co-Authored-By: Martin Jambor <mjambor@suse.cz>
From-SVN: r233757
libgomp/ChangeLog
libgomp/testsuite/lib/libgomp.exp
libgomp/testsuite/libgomp.c++/declare_target-1.C [new file with mode: 0644]