arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.07896cs.DCcs.AR
收藏

CuPBoP:适用于嵌入式和宽范围处理器的CUDA

CuPBoP: CUDA for Parallelized and Broad-range Processors

Ruobing Han, Jun Chen, Bhanu Garg, Jeffrey Young, Jaewoong Sim, Hyesoon Kim

摘要:

CUDA是GPU编程最受欢迎的选择之一,但它只能在NVIDIA GPU上执行。在非NVIDIA设备上执行CUDA不仅有利于硬件社区,还允许在异构系统中进行数据并行计算。为了使CUDA程序可移植,一些研究人员提出使用源到源翻译器将CUDA翻译为可在非NVIDIA设备上执行的可移植程序设计语言。然而,大多数CUDA翻译器需要对翻译后的代码进行额外的手动修改,这给开发人员带来了沉重的工作量。在本文中,CuPBoP建议在非NVIDIA设备上执行CUDA,而不依赖于任何便携式程序设计语言。与在非NVIDIA设备上执行CUDA的现有工作相比,CuPBoP不需要手动修改CUDA源代码,但它仍然达到了最高的覆盖率(69.6%),远高于Rodinia基准测试中的现有框架(56.6%)。特别地,对于CPU后端,CuPBoP支持若干ISA(例如,X86、RISC-V、AArch 64),并且与其他项目相比具有接近甚至更高的性能。我们还比较和分析了CuPBoP、手动优化的OpenMP/MPI程序和CUDA程序在最新Ampere架构GPU上的性能,并指出了在非NVIDIA设备上支持高性能CUDA程序的未来方向

英文摘要:

CUDA is one of the most popular choices for GPU programming, but it can only be executed on NVIDIA GPUs. Executing CUDA on non-NVIDIA devices not only benefits the hardware community, but also allows data-parallel computation in heterogeneous systems. To make CUDA programs portable, some researchers have proposed using source-to-source translators to translate CUDA to portable programming languages that can be executed on non-NVIDIA devices. However, most CUDA translators require additional manual modifications on the translated code, which imposes a heavy workload on developers. In this paper, CuPBoP is proposed to execute CUDA on non-NVIDIA devices without relying on any portable programming languages. Compared with existing work that executes CUDA on non-NVIDIA devices, CuPBoP does not require manual modification of the CUDA source code, but it still achieves the highest coverage (69.6%), much higher than existing frameworks (56.6%) on the Rodinia benchmark. In particular, for CPU backends, CuPBoP supports several ISAs (e.g., X86, RISC-V, AArch64) and has close or even higher performance compared with other projects. We also compare and analyze the performance among CuPBoP, manually optimized OpenMP/MPI programs, and CUDA programs on the latest Ampere architecture GPU, and show future directions for supporting CUDA programs on non-NVIDIA devices with high performance

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑