Back to Search Start Over

多面体模型下的循环置换与自动调优.

Authors :
彭 畅
刘青枝
陈长波
Source :
Computer Engineering & Science / Jisuanji Gongcheng yu Kexue. Dec2023, Vol. 45 Issue 12, p2121-2134. 14p.
Publication Year :
2023

Abstract

Aiming at improving the performance of the default loop scheduling and tile size of Pluto, a commonly used polyhedral compiler, this paper proposes a method to compute a variety of legal permutations for its default scheduling and auto-tune its performance according to the configuration space composed of permutations and tile sizes. Through the processing of scalar dimension that defines loop fusion, both intra and inter permutations for imperfect loop nest are realized. Four machine learning driven auto-tuning strategies are proposed to find the optimized combination of permutation order and tile size for a loop with a given problem size. Under the default tile size, the optimal permutation generated by the extended Pluto compiler in a parallel environment achieves a maximum speedup of 4.02 and a geometric mean of 2.12 compared with the default scheduling of Pluto. By further searching for a better combination of permutation order and tile size, the best auto-tuning strategy achieves a maximum speedup of 5.48 and a geometric mean of 2.86 compared with Pluto's default optimization in a parallel environment. In addition, the best configuration and the learned model obtained by auto-tuning for a particular problem size, when being applied to similar problem sizes, also outperform the default optimization of Pluto in various degrees. [ABSTRACT FROM AUTHOR]

Details

Language :
Chinese
ISSN :
1007130X
Volume :
45
Issue :
12
Database :
Academic Search Index
Journal :
Computer Engineering & Science / Jisuanji Gongcheng yu Kexue
Publication Type :
Academic Journal
Accession number :
174264045
Full Text :
https://doi.org/10.3969/j.issn.1007-130X.2023.12.004