基于学习的迭代式优化编译中的经验适用性研究
收稿日期: 2010-03-05
修回日期: 2010-06-10
网络出版日期: 2010-09-02
基金资助
中国科学院计算机系统结构重点实验室开放课题项目;暨南大学博士启动基金资助项目
Applicability of Experience in LearningBased Iterative Compilations
Received date: 2010-03-05
Revised date: 2010-06-10
Online published: 2010-09-02
龙舜,朱蔚恒 . 基于学习的迭代式优化编译中的经验适用性研究[J]. 计算机工程与科学, 2010 , 32(9) : 115 -118 . DOI: 10.3969/j.issn.1007130X.2010.
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.
/
| 〈 |
|
〉 |