Exploitation of parallelism to nested loops with dependence cycles

被引:4
作者
Chang, WL [1 ]
Chu, CP
Ho, M
机构
[1] So Taiwan Univ Technol, Dept Informat Management, Tainan 710, Taiwan
[2] Natl Cheng Kung Univ, Dept Comp Sci & Informat Engn, Tainan 701, Taiwan
关键词
parallelizing compilers; vectorizing compilers; loop optimization; data dependence analysis; dependence cycle; parallelism exploitation;
D O I
10.1016/j.sysarc.2004.06.001
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
In this paper, we analyze the recurrences from the breakability of the dependence links formed in general multi-statements in a nested loop. The major findings include: (1) A sink variable renaming technique, which can reposition an undesired anti-dependence and/or output-dependence link, is capable of breaking an anti-dependence and/or output-dependence link. (2) For recurrences connected by only true dependences, a dynamic dependence concept and the derived technique are powerful in terms of parallelism exploitation. (3) By the employment of global dependence testing, link-breaking strategy, Tarjan's depth-first search algorithm, and a topological sorting, an algorithm for resolving a general multi-statement recurrence in a nested loop is proposed. Experiments with benchmark cited from Vector loops showed that among 134 subroutines tested, 3 had their parallelism exploitation amended by our proposed method. That is, our offered algorithm increased the rate of parallelism exploitation of Vector loops by approximately 2.24%. (C) 2004 Published by Elsevier B.V.
引用
收藏
页码:729 / 742
页数:14
相关论文
共 30 条
  • [11] A multi-dimensional version of the I test
    Chang, WL
    Chu, CP
    Wu, JH
    [J]. PARALLEL COMPUTING, 2001, 27 (13) : 1783 - 1799
  • [12] The infinity Lambda test: A multi-dimensional version of Banerjee infinity test
    Chang, WL
    Chu, CP
    [J]. PARALLEL COMPUTING, 2000, 26 (10) : 1275 - 1295
  • [13] CHANG WL, 2002, 3 INT C PAR DISTR CO, P52
  • [14] CHANG WL, IN PRESS J SUPERCOMP
  • [15] CHANG WL, 2002, 3 INT C PAR DISTR CO, P455
  • [16] CHU CP, 1991, P 5 PAR PROC S, P619
  • [17] CHU CP, 1991, 91004 LSU DEP COMP S
  • [18] GUO M, 2004, IN PRESS INT S PAR A
  • [19] KUCK DJ, 1981, 8TH P ACM S PRINC PR, P207
  • [20] Kunth D. E, 1973, ART COMPUTER PROGRAM, V1