期刊文献+

基于随机决策森林的循环展开方法 被引量:2

Loop unrolling method based on random decision forest
下载PDF
导出
摘要 为提高编译器循环展开因子计算的准确性,提出一种基于改进的随机森林模型预测循环展开因子的方法。对传统随机森林模型进行加权的改进,为解决非平衡数据集问题提出基于SMOTE算法的BSC算法。从SPEC2006等测试集中提取近1000个循环并提取特征构成训练集,训练循环展开因子预测模型。生成的模型对于展开因子的预测准确度达81%,与编译器默认的循环展开方法相比,利用预测模型对选定的测试程序循环展开后性能平均提升12%。 To improve the accuracy of the loop unrolling factor calculation in compilers,a loop unrolling method based on improved random decision forest was proposed.The traditional random decision forest was improved by adding a weight value.BSC algorithm based on SMOTE algorithm was proposed to solve the problem of unbalanced data sets.Nearly 1000 loops were selected from several benchmarks including SPEC2006,and features were extracted from these loops constituting the training set to train the loop unrolling factor prediction model.The model has a prediction accuracy of 81% for the unrolling factor,and an average of 12% improvement in the performance of the selected programs compared to the compiler's default loop unrolling method.
出处 《计算机工程与设计》 北大核心 2018年第1期199-204,共6页 Computer Engineering and Design
基金 国家863高技术研究发展计划基金项目(2014AA01A300) 国家"核高基"重大专项基金项目(2013ZX0102-8001-001-001)
关键词 循环展开 编译优化 机器学习 随机决策森林 加权投票 非平衡数据集 loop unrolling com pilation optim ization m achine learning random decision forests weighted voting unbalance data
  • 相关文献

参考文献2

二级参考文献22

  • 1Hall M W,Amarasinghe S P,Murphy B R,et al.Interprocedural parallelization analysis in SUIF.ACM Transactions on Programming Languages and Systems,2005,27(4):662-731. 被引量:1
  • 2Kwon D,Han S,Kim H.MPI backend for an automatic parallelizing compiler//Proceedings of the 14th International Symposium on Parallel Architectures,Algorithms and Networks.San Francisco,USA,1999:152-157. 被引量:1
  • 3Ferner C S.The paraguin compiler-message-passing code generation using SUIF//Proceedings of the IEEE SoutheastCon 2002,Piscataway,USA,2002:1-6. 被引量:1
  • 4Du J C,Chen D X,Xie L.JAPS:An automatic parallelizing system based on Java.Science in China (Series E),1999,42(4):396-406. 被引量:1
  • 5Lin M,Yu Z Y,Zhang D,et al.Retargeting the Open64 compiler to PowerPC processor//Proceedings of the 2008 International Conference on Embedded Software and Systems Symposia.Chengdu,China,2008:152-157. 被引量:1
  • 6Allen R,Kennedy K.Optimizing Compilers for Modern Architectures-A Dependence Based Approach.San Francisco:Morgan Kaufmann Publishers,2001. 被引量:1
  • 7韩林.面向分布存储结构的并行分解一致性优化技术研究[博士学位论文].解放军信息工程大学,郑州,2008. 被引量:1
  • 8Wolfe M J.High Performance Compilers for Parallel Computing.New York:Addison Wesley,1995. 被引量:1
  • 9Pugh W.A practical algorithm for exact array dependence analysis.Communication of the ACM,1992,35(8):102-114. 被引量:1
  • 10Zhou J H,Zeng G H.A general data dependence analysis for parallelizing compilers.The Journal of Supercomputing,2008,45(2):236-252. 被引量:1

共引文献33

同被引文献8

引证文献2

二级引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部