Enable OpenACC GCN testing.
authorAndrew Stubbs <ams@codesourcery.com>
Tue, 3 Dec 2019 12:53:53 +0000 (12:53 +0000)
committerAndrew Stubbs <ams@gcc.gnu.org>
Tue, 3 Dec 2019 12:53:53 +0000 (12:53 +0000)
commit83caa34e2a618842e05f59cbb3e2dda93dc23270
treed2e2e9f715d2b9eb06ba548d68729e7883757533
parent5105b576dfdcae0c6cc30a89a68b4ef3cbf56a1c
Enable OpenACC GCN testing.

2019-12-03  Andrew Stubbs  <ams@codesourcery.com>

libgomp/
* testsuite/lib/libgomp.exp (offload_target_to_openacc_device_type):
Recognize amdgcn.
(check_effective_target_openacc_amdgcn_accel_present): New proc.
(check_effective_target_openacc_amdgcn_accel_selected): New proc.
* testsuite/libgomp.oacc-c++/c++.exp: Add support for amdgcn.
* testsuite/libgomp.oacc-c/c.exp: Likewise.
* testsuite/libgomp.oacc-fortran/fortran.exp: Likewise.

From-SVN: r278935
libgomp/ChangeLog
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