Re: [PATCH, PR70895] Add copy mapping for reductions on OpenACC loop directives

2016-08-18 Thread Chung-Lin Tang
On 2016/8/16 7:06 PM, Thomas Schwinge wrote: > Hi! > > On Mon, 15 Aug 2016 19:25:48 +0800, Chung-Lin Tang > wrote: >> per the discussion on the bugzilla PR page, reductions on OpenACC loop >> directives will automatically get a copy clause mapping on an enclosing >> parallel construct (unless bo

Re: [PATCH, PR70895] Add copy mapping for reductions on OpenACC loop directives

2016-08-16 Thread Thomas Schwinge
Hi! On Mon, 15 Aug 2016 19:25:48 +0800, Chung-Lin Tang wrote: > per the discussion on the bugzilla PR page, reductions on OpenACC loop > directives will automatically get a copy clause mapping on an enclosing > parallel construct (unless bounded by a local variable or an explicit > firstprivate

Re: [PATCH, PR70895] Add copy mapping for reductions on OpenACC loop directives

2016-08-15 Thread Jakub Jelinek
On Mon, Aug 15, 2016 at 07:25:48PM +0800, Chung-Lin Tang wrote: > per the discussion on the bugzilla PR page, reductions on OpenACC loop > directives will automatically get a copy clause mapping on an enclosing > parallel construct (unless bounded by a local variable or an explicit > firstprivate c

[PATCH, PR70895] Add copy mapping for reductions on OpenACC loop directives

2016-08-15 Thread Chung-Lin Tang
Hi Jakub, per the discussion on the bugzilla PR page, reductions on OpenACC loop directives will automatically get a copy clause mapping on an enclosing parallel construct (unless bounded by a local variable or an explicit firstprivate clause). There is also a patch for libgomp testsuite cases. As