summaryrefslogtreecommitdiff
path: root/libgomp/config
diff options
context:
space:
mode:
authorAndrew Stubbs <ams@codesourcery.com>2020-01-17 14:46:59 +0000
committerAndrew Stubbs <ams@codesourcery.com>2020-01-17 18:11:52 +0000
commit6687d13a87c42dddc7d1c7adade38d31ba0d1401 (patch)
tree0b69051effa34310111cd194b1f6b82650ebebab /libgomp/config
parent0ba6a850b597236832140bf57bf6083b6fab93f9 (diff)
downloadgcc-6687d13a87c42dddc7d1c7adade38d31ba0d1401.tar.gz
Rename acc_device_gcn to acc_device_radeon
2020-01-17 Andrew Stubbs <ams@codesourcery.com> libgomp/ * config/accel/openacc.f90 (openacc_kinds): Rename acc_device_gcn to acc_device_radeon. (openacc): Likewise. * openacc.f90 (openacc_kinds): Likewise. (openacc): Likewise. * openacc.h (acc_device_t): Likewise. * openacc_lib.h: Likewise. * testsuite/lib/libgomp.exp (check_effective_target_openacc_amdgcn_accel_present): Likewise. * testsuite/libgomp.oacc-c-c++-common/acc_prof-init-1.c (cb_compute_construct_end): Likewise. * testsuite/libgomp.oacc-c-c++-common/acc_prof-kernels-1.c (cb_enqueue_launch_start): Likewise. * testsuite/libgomp.oacc-c-c++-common/acc_prof-parallel-1.c (cb_enter_data_end): Likewise. (cb_exit_data_start): Likewise. (cb_exit_data_end): Likewise. (cb_compute_construct_end): Likewise. (cb_enqueue_launch_start): Likewise. (cb_enqueue_launch_end): Likewise. * testsuite/libgomp.oacc-c-c++-common/asyncwait-nop-1.c (main): Likewise.
Diffstat (limited to 'libgomp/config')
-rw-r--r--libgomp/config/accel/openacc.f904
1 files changed, 2 insertions, 2 deletions
diff --git a/libgomp/config/accel/openacc.f90 b/libgomp/config/accel/openacc.f90
index b4d40362c5d..a8e5144349e 100644
--- a/libgomp/config/accel/openacc.f90
+++ b/libgomp/config/accel/openacc.f90
@@ -50,7 +50,7 @@ module openacc_kinds
! integer (acc_device_kind), parameter :: acc_device_host_nonshm = 3 removed.
integer (acc_device_kind), parameter :: acc_device_not_host = 4
integer (acc_device_kind), parameter :: acc_device_nvidia = 5
- integer (acc_device_kind), parameter :: acc_device_gcn = 8
+ integer (acc_device_kind), parameter :: acc_device_radeon = 8
end module openacc_kinds
@@ -86,7 +86,7 @@ module openacc
! From openacc_kinds
public :: acc_device_kind
public :: acc_device_none, acc_device_default, acc_device_host
- public :: acc_device_not_host, acc_device_nvidia, acc_device_gcn
+ public :: acc_device_not_host, acc_device_nvidia, acc_device_radeon
public :: acc_on_device