Redundant synchronization elimination for DOACROSS loops

Authors
Citation
Dk. Chen et Pc. Yew, Redundant synchronization elimination for DOACROSS loops, IEEE PARALL, 10(5), 1999, pp. 459-470
Citations number
13
Categorie Soggetti
Computer Science & Engineering
Journal title
IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS
ISSN journal
10459219 → ACNP
Volume
10
Issue
5
Year of publication
1999
Pages
459 - 470
Database
ISI
SICI code
1045-9219(199905)10:5<459:RSEFDL>2.0.ZU;2-D
Abstract
Cross-iterations data dependences in DOACROSS loops require explicit data s ynchronizations to enforce them. However, the composite effect of some data synchronizations may cover the other dependences and make the enforcement of those covered dependences redundant. In this paper, we propose an effici ent and general algorithm to identify redundant synchronizations in multipl y nested DOACROSS loops which may have multiple statements and loop-exit co ntrol branches. Eliminating redundant synchronizations in DOACROSS loops al lows more efficient execution of such loops. We also address the issues of enforcing data synchronizations in iterations near the boundary of the iter ation space. Because some dependences may not exist in those boundary itera tions, it adds complexity in determining the redundant synchronizations for those boundary iterations. The necessary and sufficient condition under wh ich the synchronization is uniformly redundant is also studied. These resul ts allow a parallelizing compiler to generate efficient data synchronizatio n instructions for DOACROSS loops.