Program analysis techniques for transforming programs for parallel execution

被引:9
|
作者
Psarris, K [1 ]
机构
[1] Univ Texas, Dept Comp Sci, San Antonio, TX 78249 USA
基金
美国国家科学基金会;
关键词
parallelizing compilers; data dependence; program analysis; automatic parallelization; compiles optimization;
D O I
10.1016/S0167-8191(01)00132-6
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In a multiple processor system, computer programs have to be redesigned to efficiently use the parallel processors and deliver higher performance. One major approach is automatic detection of parallelism, in which existing conventional sequential programs are translated into parallel programs, in order to benefit from the presence of multiple processors. Optimizing compilers rely upon pro-ram analysis techniques to detect data dependences between program statements, The results of the analysis enable the compiler to identify code fragments that can be executed in parallel. The proposed dependence analysis techniques fall into two different categories: either efficient and approximate tests or exact but exponential. In this paper, we show that exact data dependence information can be computed efficiently in practice. The Banerjee inequality and the GCD test are the two tests traditionally used to determine statement data dependence in automatic parallelization of loops, These tests are approximate in the sense that they are necessary but not sufficient conditions for data dependence. In an earlier work we formally studied the accuracy of the Banerjee and GCD tests and derived a set of conditions that can be tested along with the Banerjee inequality and the GCD test to obtain exact data dependence information. In this work, we perform an empirical study to explain and demonstrate the accuracy of the Banerjee and GCD tests in actual practice. Our experiments indicate that exact data dependence information can be computed in linear time in practice. (C) 2002 Elsevier Science B.V. All rights reserved.
引用
收藏
页码:455 / 469
页数:15
相关论文
共 50 条
  • [1] Parallel execution of prolog programs: A survey
    Gupta, G
    Pontelli, E
    Ali, KAM
    Carlsson, M
    Hermenegildo, MV
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2001, 23 (04): : 472 - 602
  • [2] MACHINE-INDEPENDENT AND AND OR PARALLEL EXECUTION OF LOGIC PROGRAMS .2. COMPILED EXECUTION
    RAMKUMAR, B
    KALE, LV
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 1994, 5 (02) : 181 - 192
  • [3] Automatic identification of parallel units and synchronisation points in programs for parallel execution on a distributed system
    Evans, DJV
    Goscinski, AM
    COMPUTER SYSTEMS SCIENCE AND ENGINEERING, 1997, 12 (05): : 307 - 315
  • [4] MP-Tomasulo: A Dependency-Aware Automatic Parallel Execution Engine for Sequential Programs
    Wang, Chao
    Li, Xi
    Zhang, Junneng
    Zhou, Xuehai
    Nie, Xiaoning
    ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2013, 10 (02)
  • [5] Precise interprocedural dependence analysis of parallel programs
    Müller-Olm, M
    THEORETICAL COMPUTER SCIENCE, 2004, 311 (1-3) : 325 - 388
  • [6] A Novel Program Analysis Method Based On Execution Path Correlation
    Fan, Wenqing
    Zhou, Binbin
    Liang, Hongliang
    Yang, Yixian
    2009 SECOND INTERNATIONAL SYMPOSIUM ON KNOWLEDGE ACQUISITION AND MODELING: KAM 2009, VOL 2, 2009, : 178 - 181
  • [7] An Analytical Evaluation of Data Dependence Analysis Techniques
    Niedzielski, David
    Psarris, Kleanthis
    Theoharis, Theoharis
    INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 2019, 47 (5-6) : 781 - 804
  • [8] An Analytical Evaluation of Data Dependence Analysis Techniques
    David Niedzielski
    Kleanthis Psarris
    Theoharis Theoharis
    International Journal of Parallel Programming, 2019, 47 : 781 - 804
  • [9] An experimental evaluation of data dependence analysis techniques
    Psarris, K
    Kyriakopoulos, K
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2004, 15 (03) : 196 - 213
  • [10] Symbolic analysis techniques for program parallelization
    Fahringer, T
    FUTURE GENERATION COMPUTER SYSTEMS, 1998, 13 (4-5) : 385 - 396