首页> 中文期刊>计算机工程与设计 >基于随机决策森林的循环展开方法

基于随机决策森林的循环展开方法

     

摘要

为提高编译器循环展开因子计算的准确性,提出一种基于改进的随机森林模型预测循环展开因子的方法.对传统随机森林模型进行加权的改进,为解决非平衡数据集问题提出基于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.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号