【24h】

A Minimalistic Dataflow Programming Library for Python

机译:用于Python的简约数据流编程库

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

摘要

Current work on parallel programming models are trending towards the dataflow paradigm. Previous works on that topic have shown that dataflow programming is indeed a natural way to exploit parallelism in programs. However, there is still a gap in terms of ease of programming between high level languages adopted by the scientific community and the languages and tools available for dataflow programming. In this paper we present Sucuri: a minimalistic Python library that provides dataflow programming with reasonably simple syntax. To parallelize applications using our library, the programmer needs only to identify functions of his code that are good candidates for parallelization and instantiate a dataflow graph where each node is associated with one of such functions, and the edges between nodes describe data dependencies between functions. We then proceed to implement two benchmarks that represent important parallel programming patterns using our library and execute them on a cluster of multicores. Experimental results are promising, proving that our library can be an interesting first option for parallelization.
机译:当前在并行编程模型上的工作正在趋向于数据流范例。先前有关该主题的工作表明,数据流编程确实是在程序中利用并行性的自然方法。但是,在科学界采用的高级语言与可用于数据流编程的语言和工具之间,在易于编程方面仍存在差距。在本文中,我们介绍Sucuri:一个简约的Python库,它以合理的简单语法提供数据流编程。要使用我们的库对应用程序进行并行化,程序员只需确定自己的代码中可以并行化的功能,并实例化一个数据流图,其中每个节点都与其中一个函数相关联,并且节点之间的边缘描述了函数之间的数据依赖关系。然后,我们继续使用我们的库来实现代表重要的并行编程模式的两个基准,并在多核集群上执行它们。实验结果很有希望,证明我们的库可以成为有趣的并行化首选。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号