Fix-up for og10 commit
c2e4a17adc0989f216c7fc3f93f150c66adba23a "OpenMP 5.0:
requires directive".
libgomp: while loading libgomp-plugin-hsa.so.1: [...]/libgomp-plugin-hsa.so.1: undefined symbol: GOMP_OFFLOAD_supported_features
libgomp/
* plugin/plugin-hsa.c (GOMP_OFFLOAD_supported_features): New
function.
2021-03-25 Thomas Schwinge <thomas@codesourcery.com>
+ * plugin/plugin-hsa.c (GOMP_OFFLOAD_supported_features): New
+ function.
+
* target.c (__requires_mask_table, __requires_mask_table_end): Add
'__attribute__((weak))'.
"it should never be called");
return false;
}
+
+/* Indicate which GOMP_REQUIRES_* features are supported, currently none. */
+
+bool
+GOMP_OFFLOAD_supported_features (unsigned int *mask)
+{
+ return (*mask == 0);
+}