Re: [gomp4] optimize GOMP_MAP_TO_PSET

2017-02-02 Thread Cesar Philippidis
On 01/30/2017 02:26 AM, Thomas Schwinge wrote: > ... also there is some bug somewhere; I see: > > PASS: libgomp.fortran/examples-4/async_target-2.f90 -O0 (test for > excess errors) > [-PASS:-]{+FAIL:+} libgomp.fortran/examples-4/async_target-2.f90 -O0 > execution test > PASS:

Re: [gomp4] optimize GOMP_MAP_TO_PSET

2017-01-30 Thread Thomas Schwinge
Hi Cesar! On Mon, 30 Jan 2017 07:19:27 -0800, Cesar Philippidis wrote: > On 01/30/2017 02:26 AM, Thomas Schwinge wrote: > > On Fri, 27 Jan 2017 08:06:22 -0800, Cesar Philippidis > > wrote: > > PASS: libgomp.fortran/examples-4/async_target-2.f90 -O0 (test for > > excess errors) > >

Re: [gomp4] optimize GOMP_MAP_TO_PSET

2017-01-30 Thread Cesar Philippidis
On 01/30/2017 02:26 AM, Thomas Schwinge wrote: > On Fri, 27 Jan 2017 08:06:22 -0800, Cesar Philippidis > wrote: >> This is probably because CloverLeaf makes use >> of ACC DATA regions in the critical sections, so all of those PSETs and >> POINTERs are already preset on the accelerator. >> >> One

Re: [gomp4] optimize GOMP_MAP_TO_PSET

2017-01-30 Thread Thomas Schwinge
Hi! On Fri, 27 Jan 2017 08:06:22 -0800, Cesar Philippidis wrote: > This patch optimizes GOMP_MAP_TO_PSET in libgomp by installing the > remapped pointer to the array data directly in the PSET, instead of > uploading it separately with GOMP_MAP_POINTER. Effectively this > eliminates the GOMP_MAP_

[gomp4] optimize GOMP_MAP_TO_PSET

2017-01-27 Thread Cesar Philippidis
This patch optimizes GOMP_MAP_TO_PSET in libgomp by installing the remapped pointer to the array data directly in the PSET, instead of uploading it separately with GOMP_MAP_POINTER. Effectively this eliminates the GOMP_MAP_POINTER that is associated with the PSET, thereby eliminating an additional