Message ID | a1ae248c-ce70-f501-d421-e8c9b330802e@codesourcery.com |
---|---|
State | New |
Headers | show |
Series | [libgomp] Add 'gcn' to oacc-init.c's name_of_acc_device_t | expand |
2019-11-15 Tobias Burnus <tobias@codesourcery.com> libgomp/ * oacc-init.c (name_of_acc_device_t): Handle acc_device_gcn. diff --git a/libgomp/oacc-init.c b/libgomp/oacc-init.c index e1568c535b3..adc159e60b9 100644 --- a/libgomp/oacc-init.c +++ b/libgomp/oacc-init.c @@ -103,6 +103,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_gcn: return "gcn"; default: gomp_fatal ("unknown device type %u", (unsigned) type); } }