arrow
返回

An efficient tile size selection model based on machine learning

delete2018-11-01
delete11
PRE
AI
S
Song Liu *
Y
Yuanzhen Cui
Q
Qing Jiang
Q
Qian Wang
吴卫国 封面图
吴卫国 (Weiguo Wu)
DOI:10.1016/j.jpdc.2018.06.005delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Tiling is a classic loop optimization to improve data locality and achieve coarse-grained parallelism. Tile size selection (TSS) plays an important role in tiling to determine the performance of tiled codes. Most of the previous TSS approaches involve much highly skilled manpower, but it is still difficult to find the optimal tile sizes. In this article, we propose an efficient TSS model using machine learning technique to predict optimal rectangular tile sizes for a given program on multi-core processors. A set of loop features is extracted on tiled codes to capture the locality of data references and the effect of vectorization in tiled loop dimensions. Using the features and corresponding best tile sizes, the generalized regression neural network is employed to build the TSS model, hiding the complicated interactions between tile sizes and underlying factors. Although the impact of multithreading is not directly considered in training the model, the predicted tile sizes can be well adapted to different numbers of threads. Experimental results show that the predicted tile sizes achieve 90% and 81% of the optimal performance on average for 20 selected benchmarks on an Intel Xeon and an IBM Power6 multi-core platforms, respectively. The optimal performance is delivered by the tile sizes that are obtained through a heuristically exhaustive search. Our TSS model outperforms an artificial neural network (ANN)-based TSS prediction model which depends on the prefetched features by over 9% in average performance for 9 benchmarks. It also outperforms a state-of-the-art analytical TSS model which uses the cache set associativity and interaction with the single instruction multiple data (SIMD) units to estimate the optimal tile sizes by over 7% in average performance for 7 benchmarks. (C) 2018 Elsevier Inc. All rights reserved.
Keyword:
Tile size selection
Loop features
Locality of data references
Machine learning
Parallel load balance
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

Journal of Parallel and Distributed Computing 封面图
Journal of Parallel and Distributed Computing
IF:
4
论文数:
3.8K
被引数:
4.8K

机构

X
xi'an jiaotong university
学者数:
9.3W
论文数: 6.7W
被引数: 75
引用论文

引用论文

Is search really necessary to generate high-performance BLAS?
err2005-02-01
err83
PREAI
errYotov, K; Li, XM; Ren, G; Garzarán, M; Padua, D; Pingali, K; Stodghill, P
err分享
err收藏
Reference and Interpretive Ranges for α1-Antitrypsin Quantitation by Phenotype in Adult and Pediatric Populations
err2012-09-01
err0
errOAAI
errLeslie J. Donato; Sarah M. Jenkins; Carin Smith; Jerry A. Katzmann; Melissa R. Snyder
err分享
err收藏
err分享
err收藏
err分享
err收藏
Excited state hydrogen transfer dynamics in phenol–(NH3)2 studied by picosecond UV-near IR-UV time-resolved spectroscopy
err2020-01-01
err0
PREAI
errShun-ichi Ishiuchi; Junko Kamizori; Norihiro Tsuji; Makoto Sakai; Mitsuhiko Miyazaki; Claude Dedonder; Christophe Jouvet; Masaaki Fujii
err分享
err收藏
Effects of Temperature on the Age-Stage, Two-Sex Life Table of Bradysia odoriphaga (Diptera: Sciaridae)
err2015-01-22
err0
PREAI
errW. Li; Y. Yang; W. Xie; Q. Wu; B. Xu; S. Wang; X. Zhu; S. Wang; Y. Zhang
err分享
err收藏
err分享
err收藏
学者 查看更多内容