]> git.ipfire.org Git - thirdparty/gcc.git/commit
[og9] Fix configury for AMD GCN testing
authorJulian Brown <julian@codesourcery.com>
Wed, 7 Aug 2019 13:40:29 +0000 (06:40 -0700)
committerThomas Schwinge <thomas@codesourcery.com>
Tue, 3 Mar 2020 11:50:41 +0000 (12:50 +0100)
commit1dcedb6c849d5afa7213c14d021426611faddb05
treef8d6ecd1f03eb733b1d08394a5eae40907b797d1
parent48baddfe4b917a1586d8df2297852c771cfd0f06
[og9] Fix configury for AMD GCN testing

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.

(cherry picked from openacc-gcc-9-branch commit
a48bf635e1b7ef94a057ed10d433070ccf5724de)
libgomp/ChangeLog.omp
libgomp/configure
libgomp/plugin/configfrag.ac
libgomp/testsuite/lib/libgomp.exp
libgomp/testsuite/libgomp.oacc-c++/c++.exp
libgomp/testsuite/libgomp.oacc-c/c.exp
libgomp/testsuite/libgomp.oacc-fortran/fortran.exp