Loop Transformations: Convexity, Pruning and Optimization

被引:41
作者
Pouchet, Louis-Noel [1 ]
Bondhugula, Uday
Bastoul, Cedric
Cohen, Albert
Ramanujam, J.
Sadayappan, P. [1 ]
Vasilache, Nicolas
机构
[1] Ohio State Univ, Columbus, OH 43210 USA
来源
POPL 11: PROCEEDINGS OF THE 38TH ANNUAL ACM SIGPLAN-SIGACT SYMPOSIUM ON PRINCIPLES OF PROGRAMMING LANGUAGES | 2011年
关键词
Compilation; Compiler Optimization; Parallelism; Loop Transformations; Affine Scheduling; AFFINE SCHEDULING PROBLEM; EFFICIENT SOLUTIONS; PARALLELISM; ARRAY;
D O I
10.1145/1926385.1926449
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
High-level loop transformations are a key instrument in mapping computational kernels to effectively exploit resources in modern processor architetctures. However, determining appropriate compositions of loop transformations to achieve this remains a significantly challenging task; current compilers may achieve significantly lower performance than hand-optimized programs. To address this fundamental challenge, we first present a convex characterization of all distinct; semantics-preserving, multidimensional affine transformations. We then bring together algebraic, algorithmic, and performance analysis results to design a tractable optimization algorithm over this highly expressive space. The framework has been implemented and validated experimentally on a representative set of benchmarks run on state-of-the-art multi-core platforms.
引用
收藏
页码:549 / 561
页数:13
相关论文
共 50 条
[1]  
Agakov F, 2006, INT SYM CODE GENER, P295
[2]  
[Anonymous], 2008, P CC
[3]  
[Anonymous], 2008, ACM SIGPLAN C PROGR
[4]  
[Anonymous], 2004, THESIS U PASSAU
[5]  
[Anonymous], 2008, 08897 U SO CAL
[6]   Fuzzy array dataflow analysis [J].
Barthou, D ;
Collard, JF ;
Feautrier, P .
JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 1997, 40 (02) :210-226
[7]   Code generation in the polyhedral model is easier than you think [J].
Bastoul, C .
13TH INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURE AND COMPILATION TECHNIQUES, PROCEEDINGS, 2004, :7-16
[8]  
Benabderrahmane MW, 2010, LECT NOTES COMPUT SC, V6011, P283, DOI 10.1007/978-3-642-11970-5_16
[9]  
BODIN F, 1998, W PROFILE FEEDBACK D
[10]   A Model for Fusion and Code Motion in an Automatic Parallelizing Compiler [J].
Bondhugula, Uday ;
Gunluk, Oktay ;
Dash, Sanjeeb ;
Renganarayanan, Lakshminarayanan .
PACT 2010: PROCEEDINGS OF THE NINETEENTH INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES, 2010, :343-352