本文已被:浏览 626次 下载 1403次
Received:March 28, 2022 Revised:April 22, 2022
Received:March 28, 2022 Revised:April 22, 2022
中文摘要: 针对目前编译优化领域的深度学习模型普遍采用单任务学习而难以利用多个任务间的相关性提升模型整体编译加速效果的问题, 提出了一种基于多任务深度学习的编译优化方法. 该方法使用图神经网络 (GNN) 从C程序的抽象语法树 (ASTs) 和数据控制流图 (CDFGs) 中学习得到程序特征, 然后对程序特征同步预测HXDSP软件流水启动间隔和循环展开因子. 在DSPStone数据集上的实验结果表明, 该多任务方法取得了相对于单任务方法12%的性能提升.
Abstract:The current deep learning models in the field of compilation optimization generally perform single-task learning and fail to use the correlation among multiple tasks to improve their overall compilation acceleration effect. For this reason, a compilation optimization method based on multi-task deep learning is proposed. This method uses the graph neural network (GNN) to learn program features from the abstract syntax trees (ASTs) and control data flow graphs (CDFGs) of the C program and then predicts the initiation interval and loop unrolling factor for the software pipelining of the HX digital signal processor (HXDSP) synchronously according to program features. Experimental results on the DSPStone dataset show that the proposed multi-task method achieves a performance improvement of 12% compared with that of the single-task method.
keywords: software pipelining loop unrolling multi-task learning graph neural network (GNN) compilation optimization
文章编号: 中图分类号: 文献标志码:
基金项目:国家核高基重大专项(2012ZX01034-001-001)
引用文本:
刘纯纲,周鹏,郑启龙.基于多任务深度学习的HXDSP多簇软流水研究.计算机系统应用,2022,31(12):112-119
LIU Chun-Gang,ZHOU Peng,ZHENG Qi-Long.Research on Multi-cluster Software Pipelining of HXDSP Based on Multi-task Deep Learning.COMPUTER SYSTEMS APPLICATIONS,2022,31(12):112-119
刘纯纲,周鹏,郑启龙.基于多任务深度学习的HXDSP多簇软流水研究.计算机系统应用,2022,31(12):112-119
LIU Chun-Gang,ZHOU Peng,ZHENG Qi-Long.Research on Multi-cluster Software Pipelining of HXDSP Based on Multi-task Deep Learning.COMPUTER SYSTEMS APPLICATIONS,2022,31(12):112-119