CuPBoP: Making CUDA a Portable Language

Author:

Han Ruobing1ORCID,Chen Jun1ORCID,Garg Bhanu1ORCID,Zhou Xule1ORCID,Lu John1ORCID,Young Jeffrey1ORCID,Sim Jaewoong2ORCID,Kim Hyesoon1ORCID

Affiliation:

1. Georgia Institute of Technology, Atlanta, United States

2. Seoul National University, Gwanak-gu, Korea (the Republic of)

Abstract

CUDA is designed specifically for NVIDIA GPUs and is not compatible with non-NVIDIA devices. Enabling CUDA execution on alternative backends could greatly benefit the hardware community by fostering a more diverse software ecosystem. To address the need for portability, our objective is to develop a framework that meets key requirements, such as extensive coverage, comprehensive end-to-end support, superior performance, and hardware scalability. Existing solutions that translate CUDA source code into other high-level languages, however, fall short of these goals. In contrast to these source-to-source approaches, we present a novel framework, CuPBoP , which treats CUDA as a portable language in its own right. Compared to two commercial source-to-source solutions, CuPBoP offers a broader coverage and superior performance for the CUDA-to-CPU migration. Additionally, we evaluate the performance of CuPBoP against manually optimized CPU programs, highlighting the differences between CPU programs derived from CUDA and those that are manually optimized. Furthermore, we demonstrate the hardware scalability of CuPBoP by showcasing its successful migration of CUDA to AMD GPUs. To promote further research in this field, we have released CuPBoP as an open-source resource.

Funder

National Science Foundation

Ministry of Science and ICT under the ITRC support program

Publisher

Association for Computing Machinery (ACM)

Reference69 articles.

1. Michal Babej and Pekka Jääskeläinen. 2020. chipStar. Retrieved from https://github.com/CHIP-SPV/chipStar

2. NVIDIA. 2008. Compiling and Executing CUDA Programs in Emulation Mode. Retrieved from https://developer.nvidia.com/cuda-toolkit

3. Intel. 2019. Introduction to the oneAPI Level Zero Interface. Retrieved from https://www.intel.com/content/www/us/en/developer/articles/technical/using-oneapi-level-zero-interface.html

4. 2020. CloverLeaf. Retrieved from DOI:https://github.com/UK-MAC/CloverLeaf

5. 2020. DPCT. Retrieved from DOI:https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compatibility-tool.html

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3