Guidelines for Classifying Variables
In general, big things are shared
- The major arrays that take all the space
- It’s the thread’s default model
Program local vars are parallel private vars
- Temporaries used require one copy per thread
- Subroutine locals become private automatically
Move up from leaf subroutines to parallel region