diff options
author | Frederik Harwath <frederik@codesourcery.com> | 2020-01-29 15:51:44 +0100 |
---|---|---|
committer | Frederik Harwath <frederik@codesourcery.com> | 2020-01-29 15:52:58 +0100 |
commit | 989a5fb3aa5cb241727922c669da6742d33a7a86 (patch) | |
tree | dbe2f0d379dca515065321e31cbd9622395b9f30 /libgomp | |
parent | bcf3fa7cf5a3d024b507f68ffdfab037f4820781 (diff) | |
download | gcc-989a5fb3aa5cb241727922c669da6742d33a7a86.zip gcc-989a5fb3aa5cb241727922c669da6742d33a7a86.tar.gz gcc-989a5fb3aa5cb241727922c669da6742d33a7a86.tar.bz2 |
Add acc_device_radeon to name_of_acc_device_t function
libgomp/
* oacc-init.c (name_of_acc_device_t): Handle acc_device_radeon.
Reviewed-by: Thomas Schwinge <thomas@codesourcery.com>
Diffstat (limited to 'libgomp')
-rw-r--r-- | libgomp/ChangeLog | 3 | ||||
-rw-r--r-- | libgomp/oacc-init.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 7316db7..05f948b 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,6 @@ +2020-01-29 Frederik Harwath <frederik@codesourcery.com> + + * oacc-init.c (name_of_acc_device_t): Handle acc_device_radeon. 2020-01-29 Frederik Harwath <frederik@codesourcery.com> diff --git a/libgomp/oacc-init.c b/libgomp/oacc-init.c index 89a30b3..ef12b4c 100644 --- a/libgomp/oacc-init.c +++ b/libgomp/oacc-init.c @@ -115,6 +115,7 @@ name_of_acc_device_t (enum acc_device_t type) case acc_device_host: return "host"; case acc_device_not_host: return "not_host"; case acc_device_nvidia: return "nvidia"; + case acc_device_radeon: return "radeon"; default: unknown_device_type_error (type); } __builtin_unreachable (); |