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.
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
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