arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2204.06864cs.DC
收藏

异构计算中CPU与加速器技术的统一编程模型

A Unified Programming Model for Heterogeneous Computing with CPU and Accelerator Technologies

Yuqing Xiong

AI总结:

本文提出一种统一编程模型,将加速器视为I/O设备,扩展常见语言文件管理,简化异构编程,并支持耦合应用计算。

摘要:

本文由三部分组成。第一部分为采用CPU和加速器(如GPU、FPGA、Google TPU、Atos QPU等)技术的异构计算提供了一种统一编程模型。在一定程度上,这种新的编程模型使得跨CPU和加速器的编程转变为使用常见编程语言的常规编程任务,并减轻了跨CPU和加速器编程的复杂性。这可以通过扩展常见编程语言(如C/C++、Fortran、Python、MPI等)中的文件管理功能,将加速器作为I/O设备来覆盖而实现。在第二部分中,我们展示了所有类型的计算机系统都可以通过该统一编程模型简化为最简单的计算机系统类型——带有I/O设备的单核CPU计算机系统。因此,该统一编程模型能够真正地将各种计算机系统的编程构建在单一API(即常见编程语言的文件管理功能)之上,并能使各种计算机系统的编程更加容易。在第三部分中,我们提出了一种通过该统一编程模型进行耦合应用计算(如多学科模拟)的新方法。该统一编程模型使耦合应用计算更加自然和容易,因为它仅依靠自身的能力通过MPI耦合多个应用程序。

英文摘要:

This paper consists of three parts. The first part provides a unified programming model for heterogeneous computing with CPU and accelerator (like GPU, FPGA, Google TPU, Atos QPU, and more) technologies. To some extent, this new programming model makes programming across CPUs and accelerators turn into usual programming tasks with common programming languages, and relieves complexity of programming across CPUs and accelerators. It can be achieved by extending file managements in common programming languages, such as C/C++, Fortran, Python, MPI, etc., to cover accelerators as I/O devices. In the second part, we show that all types of computer systems can be reduced to the simplest type of computer system, a single-core CPU computer system with I/O devices, by the unified programming model. Thereby, the unified programming model can truly build the programming of various computer systems on one API (i.e. file managements of common programming languages), and can make programming for various computer systems easier. In third part, we present a new approach to coupled applications computing (like multidisciplinary simulations) by the unified programming model. The unified programming model makes coupled applications computing more natural and easier since it only relies on its own power to couple multiple applications through MPI.

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

↑