Re: [gomp4] acc enter/exit data

2014-12-17 Thread Thomas Schwinge
Hi! On Wed, 10 Dec 2014 10:59:34 +0100, Jakub Jelinek wrote: > On Wed, Dec 10, 2014 at 10:54:13AM +0100, Thomas Schwinge wrote: > > --- gcc/omp-low.c > > +++ gcc/omp-low.c > > @@ -9404,7 +9404,9 @@ build_omp_regions_1 (basic_block bb, struct > > omp_region *parent, > >else if (code == GI

Re: [gomp4] acc enter/exit data

2014-12-10 Thread Jakub Jelinek
On Wed, Dec 10, 2014 at 10:54:13AM +0100, Thomas Schwinge wrote: > --- gcc/omp-low.c > +++ gcc/omp-low.c > @@ -9404,7 +9404,9 @@ build_omp_regions_1 (basic_block bb, struct omp_region > *parent, >else if (code == GIMPLE_OMP_TARGET > && (gimple_omp_target_kind (stmt) == GF_OMP_

Re: [gomp4] acc enter/exit data

2014-12-10 Thread Thomas Schwinge
Hi! On Thu, 30 Oct 2014 17:11:04 -0700, Cesar Philippidis wrote: > This patch add support for OpenACC's enter/exit data directive. [...] > gcc/ > * gimple.h (enum gf_mask): Add GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA. In r218567, I committed the following to gomp-4_0-branch: commi

Re: [gomp4] acc enter/exit data

2014-11-06 Thread Thomas Schwinge
Hi! On Thu, 30 Oct 2014 17:11:04 -0700, Cesar Philippidis wrote: > This patch add support for OpenACC's enter/exit data directive. > gcc/ > * gimple.h (enum gf_mask): Add GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA. Applied to gomp-4_0-branch in r217190: commit 81c45b54c802bd76efc9417

[gomp4] acc enter/exit data

2014-10-30 Thread Cesar Philippidis
This patch add support for OpenACC's enter/exit data directive. Note that there is a problem in the 2.0a spec regarding the live ranges of variables in data clauses. Section 2.6.5.7 states that exit data delete should deallocate memory without writing it back. However, that may conflict with an acc