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 [编译程序、解释程序];
学科分类号
081201 ; 081202 ; 0835 ;
摘要
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 条
  • [31] UNIDRAW - A FRAMEWORK FOR BUILDING DOMAIN-SPECIFIC GRAPHICAL EDITORS
    VLISSIDES, JM
    LINTON, MA
    PROCEEDINGS OF THE ACM SIGGRAPH SYMPOSIUM ON USER INTERFACE SOFTWARE AND TECHNOLOGY, 1989, : 158 - 167
  • [32] eCC plus plus : A Compiler Construction Framework for Embedded Domain-Specific Languages
    Gonzalez Tallada, Marc
    Denny, Joel
    Valero-Lara, Pedro
    Lee, Seyong
    Teranishi, Keita
    Vetter, Jeffrey S.
    2024 IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS, IPDPSW 2024, 2024, : 667 - 677
  • [33] UNIDRAW - A FRAMEWORK FOR BUILDING DOMAIN-SPECIFIC GRAPHICAL EDITORS
    VLISSIDES, JM
    LINTON, MA
    ACM TRANSACTIONS ON INFORMATION SYSTEMS, 1990, 8 (03) : 237 - 268
  • [34] Building a domain-specific French-Korean lexicon
    Yoon, Aesun
    PACLIC 16: Language, Information, and Computation, Proceedings, 2002, : 465 - 474
  • [35] Building and rapidly evolving domain-specific tools with DOME
    Engstrom, E
    Krueger, J
    PROCEEDINGS OF THE 2000 IEEE INTERNATIONAL SYMPOSIUM ON COMPUTER-AIDED CONTROL SYSTEM DESIGN, 2000, : 83 - 88
  • [36] The domain-specific approach of working memory training
    Peng, Peng
    Swanson, H. Lee
    DEVELOPMENTAL REVIEW, 2022, 65
  • [37] A Domain-Specific Modeling Approach for Gestural Interaction
    Deshayes, Romuald
    2013 IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN-CENTRIC COMPUTING (VL/HCC 2013), 2013, : 181 - 182
  • [38] Domain-Specific Approach to Software Development for Microcontrollers
    Sedov, Boris
    Pakharev, Sergey
    Syschikov, Alexey
    Ivanov, Vera
    PROCEEDINGS OF THE 17TH CONFERENCE OF OPEN INNOVATIONS ASSOCIATION FRUCT, 2015, : 179 - 185
  • [39] Reading motivation: A domain-specific approach to motivation
    Wigfield, A
    EDUCATIONAL PSYCHOLOGIST, 1997, 32 (02) : 59 - 68
  • [40] An approach for the systematic development of domain-specific languages
    Strembeck, Mark
    Zdun, Uwe
    SOFTWARE-PRACTICE & EXPERIENCE, 2009, 39 (15): : 1253 - 1292