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 条
  • [31] User-defined Report Design and Implementation
    Mou Dianwen
    Xu Zhenzhong
    [J]. MATERIALS SCIENCE AND INFORMATION TECHNOLOGY, PTS 1-8, 2012, 433-440 : 3521 - 3524
  • [32] USER-DEFINED TYPES IN A POLYMORPHIC LANGUAGE
    HARLAND, DM
    [J]. COMPUTER JOURNAL, 1984, 27 (01): : 47 - 56
  • [33] Word bites and user-defined documents
    Brody, R
    [J]. ECONTENT, 2000, 23 (05) : 16 - +
  • [34] Temporal aggregation on user-defined granularities
    Terenziani, Paolo
    [J]. JOURNAL OF INTELLIGENT INFORMATION SYSTEMS, 2012, 38 (03) : 785 - 813
  • [35] User-Defined Gestures for Surface Computing
    Wobbrock, Jacob O.
    Morris, Meredith Ringel
    Wilson, Andrew D.
    [J]. CHI2009: PROCEEDINGS OF THE 27TH ANNUAL CHI CONFERENCE ON HUMAN FACTORS IN COMPUTING SYSTEMS, VOLS 1-4, 2009, : 1083 - 1092
  • [36] Optimization of queries with user-defined predicates
    Chaudhuri, S
    Shim, K
    [J]. ACM TRANSACTIONS ON DATABASE SYSTEMS, 1999, 24 (02): : 177 - 228
  • [37] Coherent control with user-defined passage
    Liu, Bao-Jie
    Yung, Man-Hong
    [J]. QUANTUM SCIENCE AND TECHNOLOGY, 2021, 6 (02)
  • [38] THE SYNTAX OF USER-DEFINED DYADIC OPERATORS
    FISHER, AJ
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 1982, 12 (07): : 623 - 625
  • [39] User-Defined On-Demand Matching
    Nakamura, Masaki
    Ogata, Kazuhiro
    Futatsugi, Kokichi
    [J]. IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2009, E92D (07) : 1401 - 1411
  • [40] Consolidation of Queries with User-Defined Functions
    Sousa, Marcelo
    Dillig, Isil
    Vytiniotis, Dimitrios
    Dillig, Thomas
    Gkantsidis, Christos
    [J]. ACM SIGPLAN NOTICES, 2014, 49 (06) : 554 - 564