Re: [Openacc] Adjust automatic loop partitioning

2016-05-03 Thread Thomas Schwinge
Hi Nathan! On Fri, 29 Apr 2016 10:00:43 -0400, Nathan Sidwell wrote: > currently automatic loop partitioning assigns from the innermost loop > outwards > -- that was the simplest thing to implement. A better algorithm is to assign > the outermost loop to the outermost available axis, and then

Re: [Openacc] Adjust automatic loop partitioning

2016-05-02 Thread Jakub Jelinek
On Fri, Apr 29, 2016 at 10:00:43AM -0400, Nathan Sidwell wrote: > Jakub, > currently automatic loop partitioning assigns from the innermost loop > outwards -- that was the simplest thing to implement. A better algorithm is > to assign the outermost loop to the outermost available axis, and then >

[Openacc] Adjust automatic loop partitioning

2016-04-29 Thread Nathan Sidwell
Jakub, currently automatic loop partitioning assigns from the innermost loop outwards -- that was the simplest thing to implement. A better algorithm is to assign the outermost loop to the outermost available axis, and then assign from the innermost loop outwards. That way we (generally) get