首页> 外文会议>International Conference on Objects, Models, Components, Patterns >Multiparty Session C: Safe Parallel Programming with Message Optimisation
【24h】

Multiparty Session C: Safe Parallel Programming with Message Optimisation

机译:Multiparty Session C:安全并行编程,消息优化

获取原文

摘要

This paper presents a new efficient programming toolchain for message-passing parallel algorithms which can fully ensure, for any typable programs and for any execution path, deadlock-freedom, communication safety and global progress through a static checking. The methodology is embodied as a multiparty session-based programming environment for C and its runtime libraries, which we call Session C. Programming starts from specifying a global protocol for a target parallel algorithm, using a protocol description language. From this global protocol, the projection algorithm generates endpoint protocols, based on which each endpoint C program is designed and implemented with a small number of concise session primitives. The endpoint protocol can further be refined to a more optimised protocol through subtyping for asynchronous communication, preserving original safety guarantees. The underlying theory can ensure that the complexity of the toolchain stays in polynomial time against the size of programs. We apply this framework to representative parallel algorithms with complex communication topologies. The benchmark results show that Session C performs competitively against MPI.
机译:本文介绍了一种新的高效编程工具链,用于通过静态检查,可以完全确保任何类型的程序和任何执行路径,死锁自由,通信安全和全局进展。该方法体现为C的基于多方会话的编程环境,用于C及其运行时库,我们调用会话C.编程从使用协议描述语言开始为目标并行算法指定全局协议。从该全局协议中,投影算法基于每个端点C程序设计和实现,以少量简洁的会话基元设计和实现端点协议。端点协议可以通过用于异步通信的亚型来改进更优化的协议,保留原始安全保证。潜在的理论可以确保工具链的复杂性保持在针对程序大小的多项式时间。我们将此框架应用于具有复杂通信拓扑的代表性并行算法。基准结果表明,会话C表现竞争力地反对MPI。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号