Opening Polyhedral Compiler's Black Box

被引:22
作者
Bagneres, Lenaic [1 ,2 ]
Zinenko, Oleksandr [1 ,2 ]
Huot, Stephane [3 ]
Bastoul, Cedric [4 ,5 ]
机构
[1] Inria, Orsay, France
[2] Univ Paris Saclay, Orsay, France
[3] Inria, Lille, France
[4] Univ Strasbourg, Strasbourg, France
[5] Inria, Strasbourg, France
来源
PROCEEDINGS OF CGO 2016: THE 14TH INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION | 2016年
关键词
Interactive Compilation; Loop Transformations; AFFINE SCHEDULING PROBLEM; EFFICIENT SOLUTIONS;
D O I
10.1145/2854038.2854048
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
While compilers offer a fair trade-off between productivity and executable performance in single-threaded execution, their optimizations remain fragile when addressing compute-intensive code for parallel architectures with deep memory hierarchies. Moreover, these optimizations operate as black boxes, impenetrable for the user, leaving them with no alternative to time-consuming and error-prone manual optimization in cases where an imprecise cost model or a weak analysis resulted in a bad optimization decision. To address this issue, we propose a technique allowing to automatically translate an arbitrary polyhedral optimization, used internally by loop-level optimization frameworks of several modern compilers, into a sequence of comprehensible syntactic transformations as long as this optimization focuses on scheduling loop iterations. This approach opens the black box of the polyhedral frameworks, enabling users to examine, refine, replay and even design complex optimizations semi-automatically in partnership with the compiler.
引用
收藏
页码:128 / 138
页数:11
相关论文
共 24 条
[1]  
[Anonymous], 2010, HOTPAR 10
[2]  
[Anonymous], P 4 GCC DEV SUMM OTT
[3]  
Bastoul C., 2004, IEEE PACT INT C PAR
[4]  
Benabderrahmane M. - W., 2010, CC INT C COMP CONSTR
[5]  
Bondhugula U., 2010, P 19 INT C PAR ARCH
[6]  
Bondhugula U., 2008, PLDI 08 ACM C PROGR
[7]  
Chen Chun, 2008, TECHNICAL REPORT
[8]   A language for the compact representation of multiple program versions [J].
Donadio, Sebastien ;
Brodman, James ;
Roeder, Thomas ;
Yotov, Kamen ;
Barthou, Denis ;
Cohen, Albert ;
Garzaran, Maria Jesus ;
Padua, David ;
Pingali, Keshav .
LANGUAGES AND COMPILERS FOR PARALLEL COMPUTING, 2006, 4339 :136-151
[9]   SOME EFFICIENT SOLUTIONS TO THE AFFINE SCHEDULING PROBLEM .2. MULTIDIMENSIONAL TIME [J].
FEAUTRIER, P .
INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 1992, 21 (06) :389-420
[10]   SOME EFFICIENT SOLUTIONS TO THE AFFINE SCHEDULING PROBLEM .1. ONE-DIMENSIONAL TIME [J].
FEAUTRIER, P .
INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 1992, 21 (05) :313-347