Types of Variables
Start with access patterns
Read Only — disposition elsewhere
Write then Read — possibly local
Read then Write — independent or reductions
Written — live on exit?
Goal: determine storage classes
- Local or private variables are local per thread
- Shared variables are everything else