Building a domain-specific compiler for emerging processors with a reusable approach

被引:0
|
作者
Mingzhen LI [1 ,2 ]
Yi LIU [2 ]
Bangduo CHEN [2 ]
Hailong YANG [1 ,2 ]
Zhongzhi LUAN [2 ]
Depei QIAN [2 ]
机构
[1] State Key Laboratory of Software Development Environment
[2] School of Computer Science and Engineering,Beihang University
基金
中国国家自然科学基金;
关键词
D O I
暂无
中图分类号
TP332 [运算器和控制器(CPU)]; TP314 [编译程序、解释程序];
学科分类号
摘要
High-performance computing and deep learning domains have been motivating the design of domain-specific processors.Although these processors can provide promising computation capability,they are notorious for exotic programming paradigms.To improve programming productivity and fully exploit the performance potential of these processors,domain-specific compilers(DSCs) have been proposed.However,building DSCs for emerging processors requires tremendous engineering efforts because the commonly used compilation stack is difficult to be reused.Owing to the advent of multilevel intermediate representation(MLIR),DSC developers can leverage reusable infrastructure to extend their customized functionalities without rebuilding the entire compilation stack.In this paper,we further demonstrate the effectiveness of MLIR by extending its reusable infrastructure to embrace a heterogeneous many-core processor(Sunway processor).In particular,we design a new Sunway dialect and corresponding backend for the Sunway processor,fully exploiting its architectural advantage and hiding its programming complexity.To show the ease of building a DSC,we leverage the Sunway dialect and existing MLIR dialects to build a stencil compiler for the Sunway processor.The experimental results show that our stencil compiler,built with a reusable approach,can even perform better than state-of-the-art stencil compilers.
引用
收藏
页码:20 / 38
页数:19
相关论文
共 50 条
  • [21] COpt : A High Level Domain-Specific Language to Generate Compiler Optimizers
    Venkat, Sruthi
    Kanwal, Preet
    2018 INTERNATIONAL CONFERENCE ON ADVANCED COMPUTATION AND TELECOMMUNICATION (ICACAT), 2018,
  • [22] A Domain-Specific Compiler for a Parallel Multiresolution Adaptive Numerical Simulation Environment
    Rajbhandari, Samyam
    Kim, Jinsung
    Krishnamoorthy, Sriram
    Pouchet, Louis-Noel
    Rastello, Fabrice
    Harrison, Robert J.
    Sadayappan, P.
    SC '16: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE FOR HIGH PERFORMANCE COMPUTING, NETWORKING, STORAGE AND ANALYSIS, 2016, : 468 - 479
  • [23] A Domain-Specific Approach To Heterogeneous Parallelism
    Chafi, Hassan
    Sujeeth, Arvind K.
    Brown, Kevin J.
    Lee, HyoukJoong
    Atreya, Anand R.
    Olukotun, Kunle
    ACM SIGPLAN NOTICES, 2011, 46 (08) : 35 - 45
  • [24] Automatic Design of Domain-Specific Instructions for Low-Power Processors
    Gonzalez-Alvarez, Cecilia
    Sartor, Jennifer B.
    Alvarez, Carlos
    Jimenez-Gonzalez, Daniel
    Eeckhout, Lieven
    PROCEEDINGS OF THE ASAP2015 2015 IEEE 26TH INTERNATIONAL CONFERENCE ON APPLICATION-SPECIFIC SYSTEMS, ARCHITECTURES AND PROCESSORS, 2015, : 1 - 8
  • [25] A wrapper pre-processor for implementing domain-specific reusable components
    Haddad, HM
    Fortner, W
    SERP'04: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING RESEARCH AND PRACTICE, VOLS 1 AND 2, 2004, : 748 - 752
  • [26] Domain-Specific ModelWare: to Make the Machine Learning Model Reusable and Reproducible
    Zhao, Hui
    Liang, Jimin
    Yin, Xuezhen
    Yang, Lingfeng
    Yang, Peili
    Wang, Yuhang
    PROCEEDINGS OF THE 12TH ACM/IEEE INTERNATIONAL SYMPOSIUM ON EMPIRICAL SOFTWARE ENGINEERING AND MEASUREMENT (ESEM 2018), 2018,
  • [27] Delite: A Compiler Architecture for Performance-Oriented Embedded Domain-Specific Languages
    Sujeeth, Arvind K.
    Brown, Kevin J.
    Lee, Hyoukjoong
    Rompf, Tiark
    Chafi, Hassan
    Odersky, Martin
    Olukotun, Kunle
    ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2014, 13
  • [28] Polyhedral Compiler Technology in Collaboration with Autotuning Important to Domain-Specific Frameworks for HPC
    Hall, Mary
    Basu, Protonu
    LANGUAGES AND COMPILERS FOR PARALLEL COMPUTING, LCPC 2016, 2017, 10136 : 101 - 105
  • [29] A domain-specific compiler theory based framework for automated reaction network generation
    Hsu, Shuo-Huan
    Krishnamurthy, Balachandra
    Rao, Prathima
    Zhao, Chunhua
    Jagannathan, Suresh
    Venkatasubramanian, Venkat
    COMPUTERS & CHEMICAL ENGINEERING, 2008, 32 (10) : 2455 - 2470
  • [30] Invasive Tightly-Coupled Processor Arrays: A Domain-Specific Architecture/Compiler Co-Design Approach
    Hannig, Frank
    Lari, Vahid
    Boppu, Srinivas
    Tanase, Alexandru
    Reiche, Oliver
    ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2014, 13