【24h】

Declarative Coordination of Graph-based Parallel Programs

机译:基于图的并行程序的声明式协调

获取原文
获取原文并翻译 | 示例
       

摘要

Declarative programming has been hailed as a promising approach to parallel programming since it makes it easier to reason about programs while hiding the implementation details of parallelism from the programmer. However, its advantage is also its disadvantage as it leaves the programmer with no straightforward way to optimize programs for performance. In this paper, we introduce Coordinated Linear Meld (CLM), a concurrent forward-chaining linear logic programming language, with a declarative way to coordinate the execution of parallel programs allowing the programmer to specify arbitrary scheduling and data partitioning policies. Our approach allows the programmer to write graph-based declarative programs and then optionally to use coordination to fine-tune parallel performance. In this paper we specify the set of coordination facts, discuss their implementation in a parallel virtual machine, and show-through example-how they can be used to optimize parallel execution. We compare the performance of CLM programs against the original uncoordinated Linear Meld and several other frameworks.
机译:声明式编程被誉为并行编程的一种有前途的方法,因为它使程序的推理变得容易,同时又向程序员隐藏了并行性的实现细节。但是,它的优点也是缺点,因为它使程序员没有直接的方法来优化程序以提高性能。在本文中,我们介绍了协调线性融合(CLM),一种并行并发的前向链接线性逻辑编程语言,它采用一种声明性的方式来协调并行程序的执行,从而允许程序员指定任意的调度和数据分区策略。我们的方法允许程序员编写基于图的声明性程序,然后选择使用协调来微调并行性能。在本文中,我们指定了一组协调事实,讨论了它们在并行虚拟机中的实现,并通过示例展示了如何使用它们来优化并行执行。我们将CLM程序的性能与原始的不协调的Linear Meld和其他几个框架进行了比较。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号