[PATCH 2/3] [og9] Fix configury for AMD GCN testing

Julian Brown julian@codesourcery.com
Thu Aug 8 16:54:00 GMT 2019


This patch updates the configury for AMD GCN for version
of the patch "Forward -foffload=[...] from the driver (compile-time)
to libgomp (run-time)" currently applied to the og9 branch. This is
necessary for OpenACC testing on AMD GCN to work properly, at least in
our test environment.

Julian

ChangeLog

	libgomp/
	* plugin/configfrag.ac (amdgcn): Set tgt_plugin.
	* testsuite/lib/libgomp.exp (offload_target_to_openacc_device_type):
	Add AMD GCN support.
	(check_effective_target_openacc_amdgcn_accel_selected): Test
	offload_target instead of offload_target_openacc.
	* testsuite/libgomp.oacc-c++/c++.exp (amdgcn*): Rename stanza to...
	(gcn): ...this. Don't set tagopt redundantly here.
	* testsuite/libgomp.oacc-c/c.exp (amdgcn*, gcn): Likewise.
	* testsuite/libgomp.oacc-fortran/fortran.exp (amdgcn*, gcn): Likewise.
	* configure: Regenerated.
---
 libgomp/ChangeLog.openacc                          | 13 +++++++++++++
 libgomp/configure                                  |  1 +
 libgomp/plugin/configfrag.ac                       |  1 +
 libgomp/testsuite/lib/libgomp.exp                  |  7 +++++--
 libgomp/testsuite/libgomp.oacc-c++/c++.exp         |  3 +--
 libgomp/testsuite/libgomp.oacc-c/c.exp             |  3 +--
 libgomp/testsuite/libgomp.oacc-fortran/fortran.exp |  3 +--
 7 files changed, 23 insertions(+), 8 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-og9-Fix-configury-for-AMD-GCN-testing.patch
Type: text/x-patch
Size: 4219 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190808/7c3f5509/attachment.bin>


More information about the Gcc-patches mailing list