Automatic openacc loop partitioning

Nathan Sidwell nathan@acm.org
Fri Nov 13 14:22:00 GMT 2015


Jakub,
this patch applies automatic loop partitioning to loops that are marked 'auto' 
and 'independent'. 'independent' is implicit inside a parallel region.

We were unnecessarily still emitting a sorry for the auto, seq and independent 
clauses in omp lowering.  The main event is in the target compiler, when we know 
which partitioning axes are available.  A simple DFS walk of the loops assigns 
the innermost available partition to such loops.

ok?

nathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trunk-auto-1113.diff
Type: text/x-patch
Size: 14960 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20151113/c83efbaf/attachment.bin>


More information about the Gcc-patches mailing list