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/ChangeLog | |
parent | b9dc11b6730a8030cfc85f0222cef523c9c5d27c (diff) | |
download | gcc-4912a04f8b35fadf65973bffc7037432ff7b7980.tar.gz |
[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/ChangeLog')
-rw-r--r-- | libgomp/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 53bb8d23fa1..cfe6e0653c9 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,5 +1,17 @@ 2020-04-29 Thomas Schwinge <thomas@codesourcery.com> + * 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. + * testsuite/libgomp.fortran/use_device_ptr-optional-2.f90: Add 'dg-do run'. |