Add acc_device_radeon to name_of_acc_device_t function
authorFrederik Harwath <frederik@codesourcery.com>
Wed, 29 Jan 2020 14:51:44 +0000 (15:51 +0100)
committerFrederik Harwath <frederik@codesourcery.com>
Wed, 29 Jan 2020 14:52:58 +0000 (15:52 +0100)
libgomp/
* oacc-init.c (name_of_acc_device_t): Handle acc_device_radeon.

Reviewed-by: Thomas Schwinge <thomas@codesourcery.com>
libgomp/ChangeLog
libgomp/oacc-init.c

index 7316db71a1ccc02f9ac92b11f5777b1481706f50..05f948b40d38f9e4d23743289308ddf6a180d0c3 100644 (file)
@@ -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>
 
index 89a30b3e716db201a1fe2186a34e4dee9abf1714..ef12b4c16d014cb134f611c6d0f8666779df2c07 100644 (file)
@@ -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 ();