A LOOP TRANSFORMATION THEORY AND AN ALGORITHM TO MAXIMIZE PARALLELISM

被引:243
作者
WOLF, ME [1 ]
LAM, MS [1 ]
机构
[1] STANFORD UNIV,COMP SYST LAB,STANFORD,CA 94305
关键词
D O I
10.1109/71.97902
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
This paper proposes a new approach to transformations for general loop nests. In this approach, we unify all combinations of loop interchange, skewing and reversal as unimodular transformations. The use of matrices to model transformations has previously been applied only to those loop nests whose dependences can be summarized by distance vectors. Our technique is applicable to general loop nests where the dependences include both distances and directions. This theory provides the foundation for solving an open question in compilation for parallel machines: which loop transformations, and in what order, should be applied to achieve a particular goal, such as maximizing parallelism or data locality. This paper presents an efficient loop transformation algorithm based on this theory to maximize the degree of parallelism in a loop nest.
引用
收藏
页码:452 / 471
页数:20
相关论文
共 26 条
[1]   AUTOMATIC TRANSLATION OF FORTRAN PROGRAMS TO VECTOR FORM [J].
ALLEN, R ;
KENNEDY, K .
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1987, 9 (04) :491-542
[2]  
Banerjee U., 1988, DEPENDENCE ANAL SUPE
[3]  
BANERJEE U, 1976, 76837 U ILL TECH REP
[4]  
BANERJEE U, 1989, 2ND P WORKSH LANG CO
[5]  
BANERJEE U, 1989, 3RD P WORKSH LANG CO
[6]  
DELOSME JM, 1985, 370 YAL U TECH REP
[7]  
Dongarra J.J, 1990, AUTOMATIC BLOCKING N
[8]   PARALLELISM DETECTION AND TRANSFORMATION TECHNIQUES USEFUL FOR VLSI ALGORITHMS [J].
FORTES, JAB ;
MOLDOVAN, DI .
JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 1985, 2 (03) :277-301
[9]  
GALLIVAN K, 1987, IMPACT HIERARCHICAL
[10]   STRATEGIES FOR CACHE AND LOCAL MEMORY MANAGEMENT BY GLOBAL PROGRAM TRANSFORMATION [J].
GANNON, D ;
JALBY, W ;
GALLIVAN, K .
JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 1988, 5 (05) :587-616