Re: [PATCH] Fix oacc kernels default mapping for scalars

2015-12-02 Thread Tom de Vries
On 02/12/15 19:03, Thomas Schwinge wrote: Hi! Copying Nathan for your information, in case you had not yet seen that gcc/gimplify.c:oacc_default_clause change: On Fri, 27 Nov 2015 12:29:21 +0100, Tom de Vries wrote: >The OpenACC 2.0a standard says this about the default mapping for >variables

Re: [PATCH] Fix oacc kernels default mapping for scalars

2015-12-02 Thread Thomas Schwinge
Hi! Copying Nathan for your information, in case you had not yet seen that gcc/gimplify.c:oacc_default_clause change: On Fri, 27 Nov 2015 12:29:21 +0100, Tom de Vries wrote: > The OpenACC 2.0a standard says this about the default mapping for > variables used in a kernels region: > ... > An arra

Re: [PATCH] Fix oacc kernels default mapping for scalars

2015-12-02 Thread Jakub Jelinek
On Fri, Nov 27, 2015 at 12:29:21PM +0100, Tom de Vries wrote: > Fix oacc kernels default mapping for scalars > > 2015-11-27 Tom de Vries > > * gimplify.c (enum gimplify_omp_var_data): Add enum value > GOVD_MAP_FORCE. > (oacc_default_clause): Fix default for scalars in oacc ke

[PATCH] Fix oacc kernels default mapping for scalars

2015-11-27 Thread Tom de Vries
Hi, The OpenACC 2.0a standard says this about the default mapping for variables used in a kernels region: ... An array or variable of aggregate data type referenced in the kernels construct that does not appear in a data clause for the construct or any enclosing data construct will be treated