On multiprocessors with explicitly managed memory hierarchies (EMM), software has the responsibility of moving data in and out of fast local memories. This task can be complex and error-prone even for expert programmers. Before we can allow compilers to handle the complexity for us, we must identify the abstractions that are general enough to allow us to write applications with reasonable effort, yet speci?c enough to exploit the vast on-chip memory bandwidth of EMM multi-processors. To this end, we compare two programming models against hand-tuned codes on the STI Cell, paying attention to programmability and performance. The ?rst programming model, Sequoia, abstracts the memory hierarchy as private address spaces, each corresponding to a parallel task. The second, Cellgen, is a new framework which provides OpenMP-like semantics and the abstraction of a shared address spaces divided into private and shared data. We compare three applications programmed using these models against their hand-optimized counterparts in terms of abstractions, programming complexity, and performance.
|Title of host publication||Proceedings of the 14th ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming|
|Place of Publication||New York, NY, USA|
|Number of pages||10|
|Publication status||Published - Feb 2009|
Schneider, S., Yeom, J-S., Rose, B., Linford, J. C., Sandu, A., & Nikolopoulos, D. S. (2009). A Comparison of Programming Models for Multiprocessors with Explicitly Managed Memory Hierarchies. In Proceedings of the 14th ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming (pp. 131-140). ACM. https://doi.org/10.1145/1594835.1504197