Re: [gomp4.1] Various accelerator updates from OpenMP 4.1

2015-09-07 Thread Jakub Jelinek
On Fri, Sep 04, 2015 at 09:07:02PM +0300, Ilya Verbin wrote: > It seems that there is a bug some here: > > Here is the reproducer: > > #pragma omp declare target > int a[1]; > #pragma omp end declare target > > void foo () > { > #pragma omp target map(to: a[0:1]) > a; > } > > > lookup_de

Re: [gomp4.1] Various accelerator updates from OpenMP 4.1

2015-09-04 Thread Jakub Jelinek
On Fri, Sep 04, 2015 at 09:07:02PM +0300, Ilya Verbin wrote: > It seems that there is a bug some here: Thanks, will look at it on Monday. > Here is the reproducer: > > #pragma omp declare target > int a[1]; > #pragma omp end declare target > > void foo () > { > #pragma omp target map(to: a[0:

Re: [gomp4.1] Various accelerator updates from OpenMP 4.1

2015-09-04 Thread Ilya Verbin
Hi! It seems that there is a bug some here: On Wed, Jul 29, 2015 at 19:19:07 +0200, Jakub Jelinek wrote: > @@ -12918,6 +12989,28 @@ lower_omp_target (gimple_stmt_iterator * > var = var2; > } > > + if (offloaded > + && OMP_CLAUSE_MAP_KIND (c) == GOMP_MAP_FIRSTPRIVAT

[gomp4.1] Various accelerator updates from OpenMP 4.1

2015-07-29 Thread Jakub Jelinek
On Fri, Jul 24, 2015 at 10:04:57PM +0200, Jakub Jelinek wrote: > Another version. > What to do with zero-length array sections vs. objects is still under heated > debates, so target8.f90 keeps failing intermittently. Here is a new version of the patch, with various additions (implemented GOMP_MAP_