A Speculative Loop Pipeline Framework with Accurate Path Modeling for High-Level Synthesis

被引:0
作者
She, Yuhan [1 ]
Liu, Jierui [1 ]
Uang, Yanlong h [1 ]
Cheung, Ray c. c. [2 ]
Yan, Hong [2 ]
机构
[1] City Univ Hong Kong, Hong Kong, Peoples R China
[2] City Univ Hong Kong, Ctr Intelligent Multidimens Data Anal, Hong Kong, Peoples R China
关键词
high-level synthesis; speculative loop pipeline; pipelining; scheduling; FPGA; DATA-FLOW;
D O I
10.1145/3705732
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Loop pipelining is a key optimization in high-level synthesis (HLS), aimed at overlapping the execution of iterations. Static scheduling, dominant in commercial HLS tools, configures the pipeline based on compile-time analysis, proving conservative for designs with irregular control flow and memory access due to imbalanced recurrences. Speculative Loop pipeline (SLP) is a novel concept that addresses the problem by introducing the speculation and recovery mechanism at the source level to improve the throughput. Although proven promising, it has a significant gap from practical application: It requires accurate early-stage modeling of the pipeline configuration for each path, which is unable to obtain with classic HLS scheduling methods because the SLP process itself interferes with the path length. In this work, we made a step forward by proposing a practical SLP framework with accurate path modeling ability through iterative tuning. We further optimize the SLP technology by combining automatic dataflow extraction with speculative source-level transformation to further boost the performance in specific design patterns. Our framework works on the source level and is easy to be plugged into existing downstream HLS tools. Experiment results demonstrate significant performance improvements over commercial HLS tools and better resource trade-offs compared to the state-of-the-art dynamic-scheduling-based solutions.
引用
收藏
页数:33
相关论文
共 43 条
[11]   Dynamic Hazard Resolution for Pipelining Irregular Loops in High-Level Synthesis [J].
Dai, Steve ;
Zhao, Ritchie ;
Liu, Gai ;
Srinath, Shreesha ;
Gupta, Udit ;
Batten, Christopher ;
Zhang, Zhiru .
FPGA'17: PROCEEDINGS OF THE 2017 ACM/SIGDA INTERNATIONAL SYMPOSIUM ON FIELD-PROGRAMMABLE GATE ARRAYS, 2017, :189-194
[12]   Toward Speculative Loop Pipelining for High-Level Synthesis [J].
Derrien, Steven ;
Marty, Thibaut ;
Rokicki, Simon ;
Yuki, Tomofumi .
IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2020, 39 (11) :4229-4239
[13]   Compositional Dataflow Circuits [J].
Edwards, Stephen A. ;
Townsend, Richard ;
Barker, Martha ;
Kim, Martha A. .
ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2019, 18 (01)
[14]  
Floc'h A, 2013, IEEE INT WORK C SO, P100, DOI 10.1109/SCAM.2013.6648190
[15]   A Unified Memory Dependency Framework for Speculative High-Level Synthesis [J].
Gorius, Jean-Michel ;
Rokicki, Simon ;
Derrien, Steven .
PROCEEDINGS OF THE 33RD ACM SIGPLAN INTERNATIONAL CONFERENCE ON COMPILER CONSTRUCTION, CC 2024, 2024, :13-25
[16]   SpecHLS: Speculative Accelerator Design Using High-Level Synthesis [J].
Gorius, Jean-Michel ;
Rokicki, Simon ;
Derrien, Steven .
IEEE MICRO, 2022, 42 (05) :99-107
[17]   SPARK: A high-level synthesis framework for applying parallelizing compiler transformations [J].
Gupta, S ;
Dutt, N ;
Gupta, R ;
Nicolau, A .
16TH INTERNATIONAL CONFERENCE ON VLSI DESIGN, PROCEEDINGS, 2003, :461-466
[18]  
HOLTMANN U, 1995, EUR CONF DESIG AUTOM, P550, DOI 10.1109/EDTC.1995.470346
[19]  
Huang Y., 2013, FPGA, P171
[20]   Buffer Placement and Sizing for High-Performance Dataflow Circuits [J].
Josipovic, Lana ;
Sheikhha, Shabnam ;
Guerrieri, Andrea ;
Ienne, Paolo ;
Cortadella, Jordi .
ACM TRANSACTIONS ON RECONFIGURABLE TECHNOLOGY AND SYSTEMS, 2022, 15 (01)