SMP Programming
The parallelism in the code:
- can be found by the compiler
- can be asserted by the programmer with directives to help the compiler to analyze the code
- compiler analyzes data access rules based on the additional information presented
- can be forced by the programmer with directives/pragmas
- compiler has to be told about data access rules (shared/private)
- explicit synchronization is often necessary to access the shared data
- can be forced by the programmer with library calls