A Directive Generation Approach Using User-defined Rules

被引:0
|
作者
Komatsu, Kazuhiko [1 ]
Egawa, Ryusuke [1 ]
Takizawa, Hiroyuki [2 ]
Kobayashi, Hiroaki [2 ]
机构
[1] Tohoku Univ, Cybersci Ctr, Sendai, Miyagi 9808578, Japan
[2] Tohoku Univ, Grad Sch Informat Sci, Sendai, Miyagi 9808578, Japan
基金
日本科学技术振兴机构;
关键词
D O I
10.1109/CANDAR.2016.94
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The appearance of various high-performance computing (HPC) systems compels a user to write a code considering the characteristic of each HPC system. To describe the system-dependent information without drastic code modifications, the directive sets such as the OpenMP directive set and the OpenACC directive set are useful. However, a code becomes complex to achieve high performance on various HPC systems because different directive sets are required for each HPC system. Thus, the code maintainability and readability are degraded. This paper proposes a directive generation approach that generates various kinds of directive sets using user-defined rules. Instead of several kinds of directive sets, a user writes a special placeholder that is utilized to specify a unique code pattern where several directives are inserted. Then, the special placeholder triggers generation of appropriate directives for each system using a user-defined rule with a code translation framework Xevolver. Because only special placeholders are inserted in a code, the proposed approach can keep the code maintainability and readability. From the demonstration of translation into three kinds of directive-based implementations, it is clarified that the proposed approach can replace directives into a smaller number of special placeholders. Moreover, it is clarified that the proposed approach can realize high performance portability by generating appropriate directives for each HPC system.
引用
收藏
页码:515 / 521
页数:7
相关论文
共 50 条
  • [1] An approach for proactive mobile recommendations based on user-defined rules
    Ilarri, Sergio
    Trillo-Lado, Raquel
    [J]. EXPERT SYSTEMS WITH APPLICATIONS, 2024, 242
  • [2] An approach for proactive mobile recommendations based on user-defined rules
    Ilarri, Sergio
    Trillo-Lado, Raquel
    [J]. Expert Systems with Applications, 2024, 242
  • [3] Inference of user-defined type qualifiers and qualifier rules
    Chin, B
    Markstrum, S
    Millstein, T
    Palsberg, J
    [J]. PROGRAMMING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2006, 3924 : 264 - 278
  • [4] HIERARCHICAL ANALYSIS OF IC ARTWORK WITH USER-DEFINED RULES
    SCHEFFER, LK
    SOETARMAN, R
    [J]. IEEE DESIGN & TEST OF COMPUTERS, 1986, 3 (01): : 66 - 74
  • [5] A symbolic computation procedure for the generation of Gauss quadrature rules with a user-defined weight function
    Maucher, R
    [J]. COMMUNICATIONS IN NUMERICAL METHODS IN ENGINEERING, 1996, 12 (02): : 141 - 145
  • [6] Transliterating Latin to Amharic scripts using user-defined rules and character mappings
    Zeleke Abebaw
    Andreas Rauber
    Solomon Atnafu
    [J]. International Journal on Digital Libraries, 2023, 24 : 63 - 75
  • [7] Transliterating Latin to Amharic scripts using user-defined rules and character mappings
    Abebaw, Zeleke
    Rauber, Andreas
    Atnafu, Solomon
    [J]. INTERNATIONAL JOURNAL ON DIGITAL LIBRARIES, 2023, 24 (01) : 63 - 75
  • [8] An Approach to User-defined Modeling Implemented with MATLAB
    Xu, Xin
    Zhang, Hengxu
    Xu, Qun
    [J]. 2014 IEEE PES ASIA-PACIFIC POWER AND ENERGY ENGINEERING CONFERENCE (IEEE PES APPEEC), 2014,
  • [9] A modular approach to user-defined symbolic periodicities
    Egidi, Lavinia
    Terenziani, Paolo
    [J]. DATA & KNOWLEDGE ENGINEERING, 2008, 66 (01) : 163 - 198
  • [10] User-defined Difficulty Levels for Automated Question Generation
    Singhal, Rahul
    Goyal, Shubham
    Henz, Martin
    [J]. 2016 IEEE 28TH INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE (ICTAI 2016), 2016, : 828 - 835