Hi Thomas,
regarding the commit r15-1070-g3a4775d4403f2e / https://gcc.gnu.org/r15-1070
First, thanks for adding I/O support to nvptx offloading.
I have a wording nit, to be confirmed by a native speaker:
--- a/libgomp/libgomp.texi
+++ b/libgomp/libgomp.texi
...
+@item I/O within OpenMP target regions and OpenACC compute regions is
supported
+ using the C library @code{printf} functions.
+ Additionally, the Fortran @code{print}/@code{write} statements are
+ supported within OpenMP target regions, but not yet OpenACC compute
+ regions. @c The latter needs
'GOMP_NVPTX_NATIVE_GPU_THREAD_STACK_SIZE'.
I think an "in" (or 'within') is missing before OpenACC.
Otherwise, it seemed to fine at a glance – and I am happy that that
feature now finally works :-)
Hooray, no longer using reverse offload ("!$omp target
device(ancestor:1)") for Fortran I/O when debugging.
Thanks,
Tobias