libgomp/ChangeLog:
* plugin/plugin-nvptx.c (GOMP_OFFLOAD_supported_features): Allow
GOMP_REQUIRES_UNIFIED_ADDRESS and GOMP_REQUIRES_UNIFIED_SHARED_MEMORY.
+2022-03-29 Andrew Stubbs <ams@codesourcery.com>
+
+ * plugin/plugin-nvptx.c (GOMP_OFFLOAD_supported_features): Allow
+ GOMP_REQUIRES_UNIFIED_ADDRESS and GOMP_REQUIRES_UNIFIED_SHARED_MEMORY.
+
2022-03-11 Andrew Stubbs <ams@codesourcery.com>
Backport of the patch posted at
return true;
}
-/* Indicate which GOMP_REQUIRES_* features are supported, currently none. */
+/* Indicate which GOMP_REQUIRES_* features are supported. */
bool
GOMP_OFFLOAD_supported_features (unsigned int *mask)
{
+ *mask &= ~(GOMP_REQUIRES_UNIFIED_ADDRESS
+ | GOMP_REQUIRES_UNIFIED_SHARED_MEMORY);
+
return (*mask == 0);
}