E2EMap: End-to-End Reinforcement Learning for CGRA Compilation via Reverse Mapping

被引:0
作者
Liu, Dajiang [1 ]
Xia, Yuxin [1 ]
Shang, Jiaxing [1 ]
Zhong, Jiang [1 ]
Ouyang, Peng [2 ]
Yin, Shouyi [3 ]
机构
[1] Chongqing Univ, Coll Comp Sci, Chongqing, Peoples R China
[2] Beijing TsingMicro Co Ltd, Beijing, Peoples R China
[3] Tsinghua Univ, Sch Integrated Circuits, Beijing, Peoples R China
来源
2024 IEEE INTERNATIONAL SYMPOSIUM ON HIGH-PERFORMANCE COMPUTER ARCHITECTURE, HPCA 2024 | 2024年
基金
中国国家自然科学基金;
关键词
CGRA; Compilation; Reinforcement Learning; GRAINED RECONFIGURABLE ARCHITECTURES; DATA-FLOW GRAPH; GAME; GO;
D O I
10.1109/HPCA57654.2024.00015
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Coarse-Grained Reconfigurable Arrays (CGRAs) are a promising architecture to cope with the challenges of increasing demand for high performance and high energy efficiency. However, the actual achieved performance of CGRA is highly dependent on the mappers. Traditional mappers using heuristics or combinatorial optimization can hardly learn from past experience, suffering from poor quality and portability. Recently, machine learning has been introduced to partial components in CGRA compilers, leaving other components to traditional heuristics, which is also prone to a sub-optimum. To this end, this paper proposes an end-to-end learning framework, E2EMap, for CGRA mapping that can cover the full mapping process. To reduce the complexity of the learning model, a reverse mapping problem is formulated, where various routing strategies can be thoroughly explored. To solve the problem, policy gradient reinforcement learning is introduced to learn from scratch. Experimental results demonstrate that E2EMap can achieve up to 2.23 x mapping quality across different CGRA settings while consuming even less compilation time as compared to state-ofthe-art works.
引用
收藏
页码:46 / 60
页数:15
相关论文
共 65 条
[1]  
Abadi M, 2016, PROCEEDINGS OF OSDI'16: 12TH USENIX SYMPOSIUM ON OPERATING SYSTEMS DESIGN AND IMPLEMENTATION, P265
[2]   X-CGRA: An Energy-Efficient Approximate Coarse-Grained Reconfigurable Architecture [J].
Akbari, Omid ;
Kamal, Mehdi ;
Afzali-Kusha, Ali ;
Pedram, Massoud ;
Shafique, Muhammad .
IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2020, 39 (10) :2558-2571
[3]   CGRA-ME: An Open-Source Framework for CGRA Architecture and CAD Research (Invited Paper) [J].
Anderson, Jason ;
Beidas, Rami ;
Chacko, Vimal ;
Hsiao, Hsuan ;
Ling, Xiaoyi ;
Ragheb, Omar ;
Wang, Xinyuan ;
Yu, Tianyi .
2021 IEEE 32ND INTERNATIONAL CONFERENCE ON APPLICATION-SPECIFIC SYSTEMS, ARCHITECTURES AND PROCESSORS (ASAP 2021), 2021, :156-162
[4]  
Balasubramanian M, 2022, DES AUT TEST EUROPE, P268, DOI 10.23919/DATE54114.2022.9774520
[5]  
Burgess A., 2021, Embench-Iot
[6]  
Chang AXM, 2022, Arxiv, DOI arXiv:2205.13675
[7]  
Chen M, 2020, PR MACH LEARN RES, V119
[8]   An Architecture-Agnostic Integer Linear Programming Approach to CGRA Mapping [J].
Chin, S. Alexander ;
Anderson, Jason H. .
2018 55TH ACM/ESDA/IEEE DESIGN AUTOMATION CONFERENCE (DAC), 2018,
[9]   RAMP: Resource-Aware Mapping for CGRAs [J].
Dave, Shail ;
Balasubramanian, Mahesh ;
Shrivastava, Aviral .
2018 55TH ACM/ESDA/IEEE DESIGN AUTOMATION CONFERENCE (DAC), 2018,
[10]   An Introduction to Deep Reinforcement Learning [J].
Francois-Lavet, Vincent ;
Henderson, Peter ;
Islam, Riashat ;
Bellemare, Marc G. ;
Pineau, Joelle .
FOUNDATIONS AND TRENDS IN MACHINE LEARNING, 2018, 11 (3-4) :219-354