Hi PA,
as discussed off list, I was stumbling over the call to GOMP_task. I now
understand why: I was looking at a different version of the OpenMP spec.
Namely, OpenMP 5.2 contains the changes for spec Issue 2741 "dispatch
construct data scoping issues". Namely: Performance issue due to 'task
Hi PA,
not yet a full review, but some observations:
First: Please include the change
gcc/fortran/types.def (BT_FN_PTR_CONST_PTR_INT)
of "[PATCH v2 7/8] OpenMP: Fortran front-end support for dispatch +
adjust_args"
Do so either in this patch (3/8) - or in the previous (2/8) one that
adds i
This patch adds middle-end support for the `dispatch` construct and the
`adjust_args` clause. The heavy lifting is done in `gimplify_omp_dispatch` and
`gimplify_call_expr` respectively. For `adjust_args`, this mostly consists in
emitting a call to `gomp_get_mapped_ptr` for the adequate device.
For