Design of the CodeBoost transformation system for domain-specific optimisation of C++ programs

被引:26
|
作者
Bagge, OS
Kalleberg, KT
Haveraaen, M
Visser, E
机构
关键词
D O I
10.1109/SCAM.2003.1238032
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The use of a high-level, abstract coding style can greatly increase developer productivity. For numerical software, this can result in drastically reduced run-time performance. High-level, domain-specific optimisations can eliminate much of the overhead caused by an abstract coding style, but current compilers have poor support for domain specific optimisation. In this paper we present CodeBoost, a source-to-source transformation tool for domain-specific optimisation of C++ programs. CodeBoost performs parsing, semantic analysis and pretty-printing, and transformations can be implemented either in the Stratego program transformation language, or as user-defined rewrite rules embedded within the C++ program. CodeBoost has been used with great success to optimise numerical applications written in the Sophus high-level coding style. We discuss the overall design of the CodeBoost transformation framework, and take a closer look at two important features of CodeBoost: user-defined rules and totem annotations. We also show briefly how CodeBoost is used to optimise Sophus code, resulting in applications that run twice as fast, or more.
引用
收藏
页码:65 / 74
页数:10
相关论文
共 50 条
  • [1] Runtime code generation in C++ as a foundation for domain-specific optimisation
    Beckmann, O
    Houghton, A
    Mellor, M
    Kelly, PHJ
    DOMAIN-SPECIFIC PROGRAM GENERATION, 2003, 3016 : 291 - 306
  • [2] Visualization of Domain-Specific Programs' Behavior
    Oliveira, Nuno
    Varanda Pereira, Maria Joao
    Henriques, Pedro Rangel
    da Cruz, Daniela
    2009 5TH IEEE INTERNATIONAL WORKSHOP ON VISUALIZING SOFTWARE FOR UNDERSTANDING AND ANALYSIS, 2009, : 37 - +
  • [3] Domain-specific optimization strategy for skeleton programs
    Emoto, Kento
    Matsuzaki, Kiminori
    Hu, Zhenjiang
    Takeichi, Masato
    EURO-PAR 2007 PARALLEL PROCESSING, PROCEEDINGS, 2007, 4641 : 705 - +
  • [4] Domain-specific metadata for model validation and performance optimisation
    Thiyagalingam, Jeyarajan
    Getov, Vladimir
    Panagiotidi, Sofia
    Beckmann, Olav
    Darlington, John
    ACHIEVEMENTS IN EUROPEAN RESEARCH ON GRID SYSTEMS, 2008, : 165 - +
  • [5] Design and Application Space Exploration of a Domain-Specific Accelerator System
    Feng, Fan
    Li, Li
    Wang, Kun
    Fu, Yuxiang
    He, Guoqiang
    Pan, Hongbing
    ELECTRONICS, 2018, 7 (04)
  • [6] Systematically Deriving Domain-Specific Transformation Languages
    Hoelldobler, Katrin
    Rumpe, Bernhard
    Weisemoeller, Ingo
    2015 ACM/IEEE 18TH INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS (MODELS), 2015, : 136 - 145
  • [7] DOMAIN-SPECIFIC DESIGN OF USER INTERFACES
    GULLIKSEN, J
    SANDBLAD, B
    INTERNATIONAL JOURNAL OF HUMAN-COMPUTER INTERACTION, 1995, 7 (02) : 135 - 151
  • [8] Domain-specific Design Pattern Instanciation
    Rekhis, Saoussen
    Bouassida, Nadia
    2015 IEEE/ACS 12TH INTERNATIONAL CONFERENCE OF COMPUTER SYSTEMS AND APPLICATIONS (AICCSA), 2015,
  • [9] Composing domain-specific design environments
    Lédeczi, A
    Bakay, A
    Maróti, M
    Völgyesi, P
    Nordstrom, G
    Sprinkle, J
    Karsai, G
    COMPUTER, 2001, 34 (11) : 44 - +
  • [10] Mining Domain-Specific Design Patterns
    Gkantouna, Vassiliki
    Tzimas, Giannis
    Tampakas, Basil
    Tsaknakis, John
    ARTIFICIAL INTELLIGENCE APPLICATIONS AND INNOVATIONS, AIAI 2016, 2016, 475 : 540 - 551