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

面向对象的大规模parallel computing设计

Object-oriented design for massively parallel computing

Edward Givelberg

摘要:

我们定义了一个抽象的框架,面向对象的编程和面向对象的语言,如C++,可以解释为并行程序设计语言。并行C++代码通常比MPI的等效C++代码短十倍以上。并行C++中代码行数的大量减少主要是由于并发协调和通信指令(包括消息的打包和解包)在对象操作的实现中自动生成。我们实现了一个原型的编译器和并行C++的运行时系统,并使用它们来创建复杂的数据密集型和HPC应用程序。这些结果表明,采用并行面向对象的框架有可能大大降低并行编程的成本。我们还表明,标准的顺序面向对象的程序可以移植到并行架构,自动并行化,并可能加快。并行面向对象的框架使得能够实现具有用于互连结构的专用后端的编译器,其将网络硬件特征直接暴露给应用。我们讨论了潜在的影响计算机体系结构。

英文摘要:

We define an abstract framework for object-oriented programming and show that object-oriented languages, such as C++, can be interpreted as parallel programming languages. Parallel C++ code is typically more than ten times shorter than the equivalent C++ code with MPI. The large reduction in the number of lines of code in parallel C++ is primarily due to the fact that coordination of concurrency, and the communications instructions, including packing and unpacking of messages, are automatically generated in the implementation of object operations. We implemented a prototype of a compiler and a runtime system for parallel C++ and used them to create complex data-intensive and HPC applications. These results indicate that adoption of the parallel object-oriented framework has the potential to drastically reduce the cost of parallel programming. We also show that standard sequential object-oriented programs can be ported to parallel architecture, parallelized automatically, and potentially sped up. The parallel object-oriented framework enables an implementation of a compiler with a dedicated backend for the interconnect fabric, which exposes the network hardware features directly to the application. We discuss the potential implications for computer architecture.

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

↑