Enforcing textual alignment of collectives using dynamic checks

Abstract

Many parallel programs are written in a single-program, multiple-data style, in which synchronization is provided using collective operations that all threads execute simultaneously. If these operations are not properly aligned on all threads, deadlock can occur, and many compiler analyses and optimizations that depend on proper alignment fail. In this paper, we discuss the flaws in the Titanium language's type system for enforcing textual alignment of collectives. We then present a system that uses runtime checks to ensure alignment for two definitions of textual alignment. The system instruments the code to keep track of alignment in each thread and then checks that alignment matches prior to performing a collective operation. We have implemented the system in the Titanium compiler, verifying that it catches alignment errors. We tested its performance on multiple application programs, demonstrating that the checks have no appreciable impact on execution time. © 2010 Springer-Verlag.

Links

PhilArchive



    Upload a copy of this work     Papers currently archived: 91,322

External links

Setup an account with your affiliations in order to access resources via your University's proxy server

Through your library

  • Only published works are available at libraries.

Similar books and articles

Beyond linguistic alignment.Allan Mazur - 2004 - Behavioral and Brain Sciences 27 (2):205-206.
Interactive alignment: Priming or memory retrieval?Michael Kaschak & Arthur Glenberg - 2004 - Behavioral and Brain Sciences 27 (2):201-202.
Situation alignment and routinization in language acquisition.Peter F. Dominey - 2004 - Behavioral and Brain Sciences 27 (2):195-195.
The emergence of active/stative alignment in Otomi.Enrique L. Palancar - 2008 - In Mark Donohue & Søren Wichmann (eds.), The typology of semantic alignment. New York: Oxford University Press.
Grammars with parsing dynamics: A new perspective on alignment.Ruth Kempson - 2004 - Behavioral and Brain Sciences 27 (2):202-203.

Analytics

Added to PP
2017-05-12

Downloads
4 (#1,590,841)

6 months
2 (#1,263,261)

Historical graph of downloads
How can I increase my downloads?

Citations of this work

No citations found.

Add more citations

References found in this work

No references found.

Add more references