Computer Engineering & Science >
Applicability of Experience in LearningBased Iterative Compilations
Received date: 2010-03-05
Revised date: 2010-06-10
Online published: 2010-09-02
Modern compilers explore various large and complex transformation spaces in an iterative manner in search for high performance for a given program. Machine learning techniques have recently been used by compilers to capture the features of a given program and find out useful heuristics from their prior experience with similar programs. However, the success of such learningbased approaches relies heavily on the experience that a compiler has obtained optimization, which is limited in practice. This hinders its applicability in general scenarios. To tackle this pitfall, we use a reverse Knearest neighbor (RKNN) algorithm to help a compiler to decide whether to use the existing prior experience directly, or turn to launch an optimization space search for outlier programs instead. Preliminary experimental results are given to demonstrate its effectiveness.
LONG Shun,ZHU Weiheng . Applicability of Experience in LearningBased Iterative Compilations[J]. Computer Engineering & Science, 2010 , 32(9) : 115 -118 . DOI: 10.3969/j.issn.1007130X.2010.
/
| 〈 |
|
〉 |