spcl / open-earth-compiler

development repository for the open earth compiler
https://arxiv.org/abs/2005.13014
Other
72 stars 14 forks source link

Interleaved unrolling #41

Open muellch opened 3 years ago

muellch commented 3 years ago

Given 3 instructions in the body of a stencil apply:

1 2 3

The current unrolling strategy copies the three instructions as a block, as follows:

1 2 3 1 2 3

Interleaved unrolling on the other hand would be:

1 1 2 2 3 3

There are possibly both. positive and negative, performance impacts that come with this change, so we should implement it and measure.