Abstract

For any two statements in a parallel program, S i and S j , S i is said to precede S j if the execution of S j implies that S i must have already executed across all possible execution orders. There are many uses for precedence information for parallel programs, including program debugging and program optimization. The problem of finding exact precedence information is Co-NP-Hard [5]. Existing approaches to compute a conservative approximation to the precedence information at compile time are very expensive. In this paper, we present a more efficient algorithm to compute precedence that exploits known properties of sequential and parallel programs. In sequential programs, the precedence relation is the same as the dominance relation. We use this, and other information, to develop a more efficient algorithm.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call