diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2020-04-21 14:16:24 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2020-04-29 09:24:07 +0200 |
commit | 4912a04f8b35fadf65973bffc7037432ff7b7980 (patch) | |
tree | 15b9899192585644f7db2afe89cbb1d120473292 /libgomp/testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c | |
parent | b9dc11b6730a8030cfc85f0222cef523c9c5d27c (diff) |
[gcn] Use 'radeon' for the environment variable 'ACC_DEVICE_TYPE'
..., per OpenACC 3.0, A.1.2. "AMD GPU Targets".
This complements commit 6687d13a87c42dddc7d1c7adade38d31ba0d1401 "Rename
acc_device_gcn to acc_device_radeon".
libgomp/
* oacc-init.c (get_openacc_name): Handle 'gcn'.
* testsuite/lib/libgomp.exp
(offload_target_to_openacc_device_type) [amdgcn*]: Return
'radeon'. Adjust all users.
(check_effective_target_openacc_amdgcn_accel_present): Rename
to...
(check_effective_target_openacc_radeon_accel_present): ... this.
Adjust all users.
(check_effective_target_openacc_amdgcn_accel_selected): Rename to...
(check_effective_target_openacc_radeon_accel_selected): ... this.
Adjust all users.
Diffstat (limited to 'libgomp/testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c')
-rw-r--r-- | libgomp/testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c index 30f0539707f..ca771646655 100644 --- a/libgomp/testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c +++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c @@ -128,7 +128,7 @@ int test_1 (int gp, int wp, int vp) int main () { -#ifdef ACC_DEVICE_TYPE_gcn +#ifdef ACC_DEVICE_TYPE_radeon /* AMD GCN uses the autovectorizer for the vector dimension: the use of a function call in vector-partitioned code in this test is not currently supported. */ |