Automatic tuning of whole applications using direct search and a performance-based transformation system

被引:24
作者
Qasem, Apan [1 ]
Kennedy, Ken [1 ]
Mellor-Crummey, John [1 ]
机构
[1] Rice Univ, Dept Comp Sci, Houston, TX 77251 USA
关键词
D O I
10.1007/s11227-006-7957-2
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
In many cases, simple analytical models used by traditional compilers are no longer able to yield effectively optimized code for complex programs because of the enormous complexity of processor architectures. A promising alternative approach for optimizing applications effectively has been the use of search-based empirical methods. The success of empirically tuned library generators such as ATLAS has shown that this strategy can be effective for domain-specific programs. However, to date there has been no general-purpose tool for effective empirical optimization of whole programs. The main obstacle to this approach has been the need for evaluating a prohibitively large number of alternative program variants. To address this problem, we have developed a prototype tool for automatic application tuning that uses loop-level performance feedback and a direct search strategy to guide search for the best set of optimization parameters. Experiments on four different architectures show that direct search can be an effective technique for finding good values for transformation parameters in a reasonable time.
引用
收藏
页码:183 / 196
页数:14
相关论文
共 19 条
[1]  
Bilmes J., 1997, P 1997 ACM INT C SUP
[2]   IMPROVING THE RATIO OF MEMORY OPERATIONS TO FLOATING-POINT OPERATIONS IN LOOPS [J].
CARR, S ;
KENNEDY, K .
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1994, 16 (06) :1768-1810
[3]  
COOPER K, 2001, P LOS AL COMP SCI I
[4]  
FRIGO M, 1998, P SIGPLAN 98 C PROGR
[5]  
FURSIN G, 2002, P 15 INT WORKSH LANG
[6]  
HOOKE R, 1961, J ACM, V8, P212, DOI 10.1145/321062.321069
[7]  
Knijnenburg PMW, 2002, LECT NOTES COMPUT SC, V2268, P171
[8]   Combined selection of tile sizes and unroll factors using iterative compilation [J].
Knijnenburg, PMW ;
Kisuki, T ;
O'Boyle, MFP .
JOURNAL OF SUPERCOMPUTING, 2003, 24 (01) :43-67
[9]  
KULKARNI P, 2004, P SIGPLAN 04 C PROGR
[10]   Direct search methods: then and now [J].
Lewis, RM ;
Torczon, V ;
Trosset, MW .
JOURNAL OF COMPUTATIONAL AND APPLIED MATHEMATICS, 2000, 124 (1-2) :191-207