Now that unified-shared memory works (with some devices), mark it as 'Y'
and link to the device-specific chapter. While there is always room for
improvement (like having opt-in partial support for managed-memory
semi-USM devices), it works sufficienty for a 'Y'.
Additionally, I saw that 5.2 now extended what is permitted inside
'declare mapper'. Instead of listening the permitted clauses as in 5.1,
it now refers to the 'map' clause such that 'delete'/'release',
'present' and in particular 'iterator' and 'mapper' itself are permitted
inside a declare-mapper 'map' clause. - Thus, I added it as to-do item
to the 5.2 status.
Comments?
Tobias
PS: As this is also about USM, the declare-target USM issue I mentioned
in several patch emails is now filed as https://gcc.gnu.org/PR115279libgomp.texi: Impl. update for USM and missing 5.2 item
libgomp/ChangeLog:
* libgomp.texi (OpenMP 5.0 status): Mark 'requires' as done and
link to 'Offload-Target Specifics'.
(OpenMP 5.2 status): Add item about additional map-type modifiers
in 'declare mapper'.
diff --git a/libgomp/libgomp.texi b/libgomp/libgomp.texi
index e79bd7a3392..03e6455219d 100644
--- a/libgomp/libgomp.texi
+++ b/libgomp/libgomp.texi
@@ -198,8 +198,8 @@ The OpenMP 4.5 specification is fully supported.
@item @var{target-offload-var} ICV and @code{OMP_TARGET_OFFLOAD}
env variable @tab Y @tab
@item Nested-parallel changes to @var{max-active-levels-var} ICV @tab Y @tab
-@item @code{requires} directive @tab P
- @tab complete but no non-host device provides @code{unified_shared_memory}
+@item @code{requires} directive @tab Y
+ @tab See @ref{Offload-Target Specifics}
@item @code{teams} construct outside an enclosing target region @tab Y @tab
@item Non-rectangular loop nests @tab P
@tab Full support for C/C++, partial for Fortran
@@ -443,6 +443,8 @@ to address of matching mapped list item per 5.1, Sect. 2.21.7.2 @tab N @tab
of the @code{interop} construct @tab N @tab
@item Invoke virtual member functions of C++ objects created on the host device
on other devices @tab N @tab
+@item @code{iterator} and @code{mapper} as map-type modifier in @code{declare mappter}
+ @tab N @tab
@end multitable