CSC/ECE 506 Spring 2010/ch 2 maf: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
=Data Parallel Programming Model= | =The Data Parallel Programming Model= | ||
==Overview== | ==Overview== | ||
==Comparing the Data Parallel with the Shared Memory and Message Passing Models== | ==Comparing the Data Parallel Model with the Shared Memory and Message Passing Models== | ||
<!--ref>Solihin, Y.: "Fundamentals", page 22. Solihin Books, 2008.</ref--> | <!--ref>Solihin, Y.: "Fundamentals", page 22. Solihin Books, 2008.</ref--> | ||
Line 18: | Line 18: | ||
| implicit (via loads/stores) | | implicit (via loads/stores) | ||
| explicit messages | | explicit messages | ||
| | | implicit | ||
|- | |- | ||
| Synchronization | | Synchronization | ||
| explicit | | explicit | ||
| implicit (via messages) | | implicit (via messages) | ||
| | | implicit | ||
|- | |- | ||
| Hardware support | | Hardware support | ||
| typically required | | typically required | ||
| none | | none | ||
| | | required | ||
|- | |- | ||
| Development effort | | Development effort | ||
| lower | | lower | ||
| higher | | higher | ||
| | | higher | ||
|- | |- | ||
| Tuning effort | | Tuning effort | ||
Line 41: | Line 41: | ||
|} | |} | ||
==Code Example== | ==A Code Example== | ||
==Hardware Examples== | ==Hardware Examples== |
Revision as of 04:16, 27 January 2010
The Data Parallel Programming Model
Overview
Aspects | Shared Memory | Message Passing | Data Parallel |
---|---|---|---|
Communication | implicit (via loads/stores) | explicit messages | implicit |
Synchronization | explicit | implicit (via messages) | implicit |
Hardware support | typically required | none | required |
Development effort | lower | higher | higher |
Tuning effort | lower | higher |