Multiple Parallel Loops
Nested parallel loops are good
- Pick easiest or most parallel code
- Think about locality
- Use IF clause to select best based on dataset
- Plan on doing one across clusters
Non nested parallel loops
- Consider loop fusion (impacts locality)
- Execute code between in parallel region