Re: [PATCH, OpenMP 5.0] Implement relaxation of implicit map vs. existing device mappings (for mainline trunk)

2021-06-24 Thread Jakub Jelinek via Gcc-patches
On Fri, May 14, 2021 at 09:20:25PM +0800, Chung-Lin Tang wrote: > diff --git a/gcc/gimplify.c b/gcc/gimplify.c > index e790f08b23f..69c4a8e0a0a 100644 > --- a/gcc/gimplify.c > +++ b/gcc/gimplify.c > @@ -10374,6 +10374,7 @@ gimplify_adjust_omp_clauses_1 (splay_tree_node n, > void *data) >

Re: [PATCH, OpenMP 5.0] Implement relaxation of implicit map vs. existing device mappings (for mainline trunk)

2021-06-07 Thread Thomas Schwinge
Hi Chung-Lin! On 2021-05-14T21:20:25+0800, Chung-Lin Tang wrote: > This is a version of patch > https://gcc.gnu.org/pipermail/gcc-patches/2021-May/569665.html > for mainline trunk. Related to the discussion in that thread,

[PATCH, OpenMP 5.0] Implement relaxation of implicit map vs. existing device mappings (for mainline trunk)

2021-05-14 Thread Chung-Lin Tang
Hi Jakub, This is a version of patch https://gcc.gnu.org/pipermail/gcc-patches/2021-May/569665.html for mainline trunk. This patch implements relaxing the requirements when a map with the implicit attribute encounters an overlapping existing map. As the OpenMP 5.0 spec describes on page 320,