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>
This commit is contained in:
parent
bcf3fa7cf5
commit
989a5fb3aa
@ -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>
|
||||
|
||||
|
@ -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 ();
|
||||
|
Loading…
Reference in New Issue
Block a user