Walking the Key Loop Nest
Find outermost parallel loop --
- Coarsest granularity is best
- Ignore timestep and convergence loops
- Ignore loops with few iterations
- Ignore loops that call unimportant subroutines
Don’t be put off by --
- Loops that write shared data
- Loops that step through linked lists
- Loops with I/O