Re: [OpenACC 6/11] Reduction initialization

2015-10-27 Thread Nathan Sidwell
On 10/22/15 01:58, Jakub Jelinek wrote: On Wed, Oct 21, 2015 at 03:24:13PM -0400, Nathan Sidwell wrote: 2015-10-20 Nathan Sidwell * omp-low.c (oacc_init_rediction_array): New. (oacc_initialize_reduction_data): Initialize array. Ok. Committed.

Re: [OpenACC 6/11] Reduction initialization

2015-10-22 Thread Jakub Jelinek
On Wed, Oct 21, 2015 at 03:24:13PM -0400, Nathan Sidwell wrote: > 2015-10-20 Nathan Sidwell > > * omp-low.c (oacc_init_rediction_array): New. > (oacc_initialize_reduction_data): Initialize array. Ok. Jakub

Re: [OpenACC 6/11] Reduction initialization

2015-10-21 Thread Nathan Sidwell
This patch is a temporary measure to avoid breaking reductions, until I post the reductions patch set (which builds on this). Currently OpenACC reductions are handled by (a) spawning all threads throughout the offload region (b) having them each individually write to an allocated slot in a 'redu