aboutsummaryrefslogtreecommitdiff
path: root/libgomp/openacc.h
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/openacc.h
parent0ba6a850b597236832140bf57bf6083b6fab93f9 (diff)
downloadgcc-6687d13a87c42dddc7d1c7adade38d31ba0d1401.zip
gcc-6687d13a87c42dddc7d1c7adade38d31ba0d1401.tar.gz
gcc-6687d13a87c42dddc7d1c7adade38d31ba0d1401.tar.bz2
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/openacc.h')
-rw-r--r--libgomp/openacc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgomp/openacc.h b/libgomp/openacc.h
index 62b2b0e..6173646 100644
--- a/libgomp/openacc.h
+++ b/libgomp/openacc.h
@@ -56,7 +56,7 @@ typedef enum acc_device_t {
/* acc_device_host_nonshm = 3 removed. */
acc_device_not_host = 4,
acc_device_nvidia = 5,
- acc_device_gcn = 8,
+ acc_device_radeon = 8,
_ACC_device_hwm,
/* Ensure enumeration is layout compatible with int. */
_ACC_highest = __INT_MAX__,