Aggregation in Loop Unrolling
Aggregation in Loop Unrolling
- Blocking is another form of loop unrolling
- Loop unrolling can be used to get longer messages
- do timestep=1,n compute exchangedo timestep=1,n,2 compute(timestep) (and some of timestep-1) compute(timestep+1) exchange 2 timesteps