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

A C++20 接口用于 MPI 4.0

A C++20 Interface for MPI 4.0

Ali Can Demiralp, Philipp Martin, Niko Sakic, Marcel Krüger, Tim Gerrits

AI总结:

本文提出一个基于 C++20 的 MPI 4.0 接口,利用反射自动生成数据类型并将操作映射为 future,以简化异步编程,并评估其相对 C 接口的性能开销。

摘要:

我们为 MPI 4.0 提供了一个现代的 C++20 接口。该接口利用最新的语言特性来简化 MPI 应用程序的开发。一个聚合反射系统能够从用户定义的类自动生成 MPI 数据类型。即时和持久操作被映射到 future,这些 future 可以链式连接,以简洁的方式描述顺序异步操作和任务图。本工作通过示例介绍了该接口的主要特性。我们进一步测量了其相对于原始 C 接口的性能开销。

英文摘要:

We present a modern C++20 interface for MPI 4.0. The interface utilizes recent language features to ease development of MPI applications. An aggregate reflection system enables generation of MPI data types from user-defined classes automatically. Immediate and persistent operations are mapped to futures, which can be chained to describe sequential asynchronous operations and task graphs in a concise way. This work introduces the prominent features of the interface with examples. We further measure its performance overhead with respect to the raw C interface.

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

↑