arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1704.03096cs.PLcs.LO
收藏

并行程序的类型推断

Inferring Types for Parallel Programs

Francisco Martins, Vasco Thudichum Vasconcelos, Hans Hüttel

摘要:

消息传递接口(MPI)框架广泛用于实现具有高度并行性的命令式程序。PARTYPES方法为类MPI程序提出了一种行为类型规则,其中一种类型描述了整个程序所遵循的通信协议。良好类型的程序保证不会出现死锁。在本文中,我们描述了一个类型推断算法的原始系统的一个子集,该算法允许静态提取一个MPI程序从其源代码的类型。

英文摘要:

The Message Passing Interface (MPI) framework is widely used in implementing imperative pro- grams that exhibit a high degree of parallelism. The PARTYPES approach proposes a behavioural type discipline for MPI-like programs in which a type describes the communication protocol followed by the entire program. Well-typed programs are guaranteed to be exempt from deadlocks. In this paper we describe a type inference algorithm for a subset of the original system; the algorithm allows to statically extract a type for an MPI program from its source code.

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

↑