A loop unrolling method based on machine learning
In order to improve the accuracy of loop unrolling factor in the compiler, we propose a loop unrolling method based on improved random decision forest. First, we improve the traditional random decision forest through adding weight value. Second, BSC algorithm based on SMOTE algorithm is proposed to...
Saved in:
Published in | Vibroengineering Procedia Vol. 18; pp. 215 - 221 |
---|---|
Main Authors | , |
Format | Journal Article |
Language | English |
Published |
JVE International Ltd
01.05.2018
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | In order to improve the accuracy of loop unrolling factor in the compiler, we propose a loop unrolling method based on improved random decision forest. First, we improve the traditional random decision forest through adding weight value. Second, BSC algorithm based on SMOTE algorithm is proposed to solve the problem of unbalanced data sets. Nearly 1000 loops are selected from several benchmarks, and features extracted from these loops constitute the training set of the loop unrolling factor prediction model. The model has a prediction accuracy of 81 % for the unrolling factor, and the existing Open64 compiler gives 36 % only. |
---|---|
ISSN: | 2345-0533 2538-8479 |
DOI: | 10.21595/vp.2018.19928 |