Compiler-Driven Simulation of Reconfigurable Hardware Accelerators

被引:1
|
作者
Li, Zhijing [1 ]
Ye, Yuwei [1 ]
Neuendorffer, Stephen [2 ]
Sampson, Adrian [1 ]
机构
[1] Cornell Univ, Ithaca, NY 14853 USA
[2] Xilinx Inc, San Jose, CA USA
关键词
Programming Language; MLIR; Multi-level Abstractions; Simulation; Accelerators; Reconfigurable Hardware;
D O I
10.1109/HPCA53966.2022.00052
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
As customized accelerator design has become increasingly popular to keep up with the demand for high performance computing, it poses challenges for modern simulator design to adapt to such a large variety of accelerators. Existing simulators tend to two extremes: low-level and general approaches, such as RTL simulation, that can model any hardware but require substantial effort and long execution times; and higher-level application-specific models that can be much faster and easier to use but require one-off engineering effort. This work proposes a compiler-driven simulation workflow that can model configurable hardware accelerator. The key idea is to separate structure representation from simulation by developing an intermediate language that can flexibly represent a wide variety of hardware constructs. We design the Event Queue (EQueue) dialect of MLIR, a dialect that can model arbitrary hardware accelerators with explicit data movement and distributed event-based control; we also implement a generic simulation engine to model EQueue programs with hybrid MLIR dialects representing different abstraction levels. We demonstrate two case studies of EQueue-implemented accelerators: the systolic array of convolution and SIMD processors in a modern FPGA. In the former we show EQueue simulation is as accurate as a state-of-the-art simulator, while offering higher extensibility and lower iteration cost via compiler passes. In the latter we demonstrate our simulation flow can guide designer efficiently improve their design using visualizable simulation outputs.
引用
收藏
页码:619 / 632
页数:14
相关论文
共 50 条
  • [1] Compiler-Driven Error Analysis for Designing Approximate Accelerators
    Castro-Godinez, Jorge
    Esser, Sven
    Shafique, Muhammad
    Pagani, Santiago
    Henkel, Joerg
    [J]. PROCEEDINGS OF THE 2018 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE), 2018, : 1027 - 1032
  • [2] Compiler-driven FPGA-area allocation for reconfigurable computing
    Panainte, Elena Moscu
    Bertels, Koen
    Vassiliadis, Stamatis
    [J]. 2006 DESIGN AUTOMATION AND TEST IN EUROPE, VOLS 1-3, PROCEEDINGS, 2006, : 367 - +
  • [3] A COMPILER-DRIVEN SUPERCOMPUTER
    KARPLUS, K
    NICOLAU, A
    [J]. APPLIED MATHEMATICS AND COMPUTATION, 1986, 20 (1-2) : 95 - 110
  • [4] Compiler-Driven FPGA Virtualization with SYNERGY
    Landgraf, Joshua
    Yang, Tiffany
    Lin, Will
    Rossbach, Christopher J.
    Schkufza, Eric
    [J]. Communications of the ACM, 2024, 67 (08) : 134 - 142
  • [5] Compiler-Driven FPGA Virtualization with SYNERGY
    Landgraf, Joshua
    Yang, Tiffany
    Lin, Will
    Rossbach, Christopher J.
    Schkufza, Eric
    [J]. ASPLOS XXVI: TWENTY-SIXTH INTERNATIONAL CONFERENCE ON ARCHITECTURAL SUPPORT FOR PROGRAMMING LANGUAGES AND OPERATING SYSTEMS, 2021, : 818 - 831
  • [6] Deepframe: A Profile-driven Compiler for Spatial Hardware Accelerators
    Guha, Apala
    Vedula, Naveen
    Shriraman, Arrvindh
    [J]. 2019 28TH INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES (PACT 2019), 2019, : 68 - 81
  • [7] Safe Compiler-driven Transaction Checkpointing and Recovery
    Sreeram, Jaswanth
    Pande, Santosh
    [J]. ACM SIGPLAN NOTICES, 2012, 47 (10) : 41 - 55
  • [8] Compiler-Driven Dependence Profiling to Guide Program Parallelization
    Wu, Peng
    Kejariwal, Arun
    Cascaval, Calin
    [J]. LANGUAGES AND COMPILERS FOR PARALLEL COMPUTING, 2008, 5335 : 232 - +
  • [9] Compiler-Driven Data Layout Transformation for Heterogeneous Platforms
    Majeti, Deepak
    Barik, Rajkishore
    Zhao, Jisheng
    Grossman, Max
    Sarkar, Vivek
    [J]. EURO-PAR 2013: PARALLEL PROCESSING WORKSHOPS, 2014, 8374 : 188 - 197
  • [10] Compiler-driven leakage energy reduction in banked register files
    Atienza, David
    Raghavan, Praveen
    Ayala, Jose L.
    De Micheli, Giovanni
    Catthoor, Francky
    Verkest, Diederik
    Lopez-Vallejo, Marisa
    [J]. INTEGRATED CIRCUIT AND SYSTEM DESIGN: POWER AND TIMING MODELING, OPTIMIZATION AND SIMULATION, 2006, 4148 : 107 - 116