On the Portability of GPU-Accelerated Applications via Automated Source-to-Source Translation

被引:6
|
作者
Sathre, Paul [1 ]
Gardner, Mark [1 ,2 ]
Feng, Wu-chun [3 ]
机构
[1] Virginia Tech, Dept Comp Sci, Blacksburg, VA 24061 USA
[2] Off IT, Blacksburg, VA USA
[3] Virginia Tech, Dept Comp Sci, Dept Elec & Comp Engn, Blacksburg, VA USA
关键词
CHALLENGES;
D O I
10.1145/3293320.3293338
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Over the past decade, accelerator-based supercomputers have grown from 0% to 42% performance share on the TOP500. Ideally, GPU-accelerated code on such systems should be "write once, run anywhere," regardless of the GPU device (or for that matter, any parallel device, e.g., CPU or FPGA). In practice, however, portability can be significantly more limited due to the sheer volume of code implemented in non-portable languages. For example, the tremendous success of CUDA, as evidenced by the vast cornucopia of CUDA-accelerated applications, makes it infeasible to manually rewrite all these applications to achieve portability. Consequently, we achieve portability by using our automated CUDA-to-OpenCL source-to-source translator called CU2CL. To demonstrate the state of the practice, we use CU2CL to automatically translate three medium-to-large, CUDA-optimized codes to OpenCL, thus enabling the codes to run on other GPU-accelerated systems (as well as CPU-or FPGA-based systems). These automatically translated codes deliver performance portability, including as much as three-fold performance improvement, on a GPU device not supported by CUDA.
引用
收藏
页码:1 / 8
页数:8
相关论文
共 50 条
  • [1] Source-to-Source Optimization of CUDA C for GPU Accelerated Cardiac Cell Modeling
    Lionetti, Fred V.
    McCulloch, Andrew D.
    Baden, Scott B.
    [J]. EURO-PAR 2010 PARALLEL PROCESSING, PT I, 2010, 6271 : 38 - +
  • [2] Towards a GPU-Accelerated Open Source VDI for OpenStack
    Bentele, Manuel
    von Suchodoletz, Dirk
    Messner, Manuel
    Rettberg, Simon
    [J]. CLOUD COMPUTING, CLOUDCOMP 2021, 2022, 430 : 149 - 164
  • [3] AN OPEN-SOURCE GPU-ACCELERATED FEATURE EXTRACTION TOOL
    Michalek, Josef
    Vanek, Jan
    [J]. 2014 12TH INTERNATIONAL CONFERENCE ON SIGNAL PROCESSING (ICSP), 2014, : 450 - 454
  • [4] Open-Source Approach to GPU-Accelerated Substructure Search
    Whitehouse, Andrew J.
    Sanchez-Martinez, Melchor
    Salehi, Seyedeh Maryam
    Kurbatova, Natalja
    Dean, Euan
    [J]. JOURNAL OF CHEMICAL INFORMATION AND MODELING, 2024, 64 (18) : 6993 - 7006
  • [5] ATTRIBUTE GRAMMAR INVERSION AND SOURCE-TO-SOURCE TRANSLATION
    YELLIN, DM
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1988, 302 : 1 - 176
  • [6] Source-to-source translation for code-optimization
    Chowdhary, K. R.
    Purohit, Rajendra
    Purohit, Sunil Dutt
    [J]. JOURNAL OF INFORMATION & OPTIMIZATION SCIENCES, 2023, 44 (03): : 407 - 416
  • [7] Source-to-source translation: Ada to Pascal and Pascal to Ada
    Albrecht, Paul F.
    Garrison, Philip E.
    Graham, Susan L.
    Hyerle, Robert H.
    Ip, Patricia
    Krieg-Brückner, Bernd
    [J]. ACM SIGPLAN Notices, 1980, 15 (11): : 183 - 193
  • [8] Macro and file structure preservation in source-to-source translation
    Andrews, K
    DelVigna, P
    Molloy, M
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 1996, 26 (03): : 281 - 292
  • [9] Reducing Library Overheads through Source-to-Source Translation
    King, Alden
    Baden, Scott
    [J]. PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE, ICCS 2012, 2012, 9 : 1930 - 1939
  • [10] A source-to-source translation method with type restoration in a compiler
    Mi, Wei
    Li, Yuxiang
    Chen, Li
    Feng, Xiaobing
    Zhang, Zhaoqing
    [J]. Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2010, 47 (07): : 1145 - 1155