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 条
  • [21] Implementing an Inference Engine for RDFS/OWL Constructs and User-Defined Rules in HBase
    Liu, Zhengbo
    Yao, Wenbin
    Wang, Dongbin
    [J]. 2017 13TH INTERNATIONAL CONFERENCE ON SEMANTICS, KNOWLEDGE AND GRIDS (SKG 2017), 2017, : 159 - 164
  • [22] Generation of multiple user-defined dispersive waves in a silicon nitride waveguide
    Yang, Yijun
    Turpaud, Victor
    Lafforgue, Christian
    Melati, Daniele
    Wilmart, Quentin
    Faugier-Tovar, Jonathan
    Gianini, Linda
    Edmond, Samson
    Cassan, Eric
    Marris-Morini, Delphine
    Alonso-Ramos, Carlos
    Vivien, Laurent
    [J]. Optica, 2024, 11 (08): : 1070 - 1076
  • [23] User-Defined Smart Contracts Using Answer Set Programming
    Purnell, Kevin
    Schwitter, Rolf
    [J]. AI 2021: ADVANCES IN ARTIFICIAL INTELLIGENCE, 2022, 13151 : 291 - 303
  • [24] Learning to Predict User-Defined Types
    Jesse, Kevin
    Devanbu, Premkumar T.
    Sawant, Anand
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2023, 49 (04) : 1508 - 1522
  • [25] A Vision for User-Defined Semantic Markup
    Piotrowski, Michael
    [J]. DOCENG'19: PROCEEDINGS OF THE ACM SYMPOSIUM ON DOCUMENT ENGINEERING 2019, 2019,
  • [26] Temporal aggregation on user-defined granularities
    Paolo Terenziani
    [J]. Journal of Intelligent Information Systems, 2012, 38 : 785 - 813
  • [27] User-Defined Gestures for Augmented Reality
    Piumsomboon, Thammathip
    Clark, Adrian
    Billinghurst, Mark
    Cockburn, Andy
    [J]. HUMAN-COMPUTER INTERACTION - INTERACT 2013, PT II, 2013, 8118 : 282 - 299
  • [28] Modeling a slicer mirror using Zemax user-defined surface
    Vives, S.
    Prieto, E.
    Moretto, G.
    Saisse, M.
    [J]. NEW ASTRONOMY REVIEWS, 2006, 50 (4-5) : 271 - 274
  • [29] Digital imagery and user-defined art
    Schwartz, G
    [J]. ART BULLETIN, 1997, 79 (02): : 206 - 208
  • [30] USER-DEFINED TYPES IN A POLYMORPHIC LANGUAGE
    HOLDSWORTH, D
    [J]. COMPUTER JOURNAL, 1984, 27 (03): : 285 - 285