首页> 外文OA文献 >The Eureka Programming Model for Speculative Task Parallelism
【2h】

The Eureka Programming Model for Speculative Task Parallelism

机译:推测任务并行的尤里卡规划模型

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

In this paper, we describe the Eureka Programming Model (EuPM) that simplifies the expression of speculative parallel tasks, and is especially well suited for parallel search and optimization applications. The focus of this work is to provide a clean semantics for, and efficiently support, such "eureka-style" computations (EuSCs) in general structured task parallel programming models. In EuSCs, a eureka event is a point in a program that announces that a result has been found. A eureka triggered by a speculative task can cause a group of related speculative tasks to become redundant, and enable them to be terminated at well-defined program points. Our approach provides a bound on the additional work done in redundant speculative tasks after such a eureka event occurs.We identify various patterns that are supported by our eureka construct, which include search, optimization, convergence, and soft real-time deadlines. These different patterns of computations can also be safely combined or nested in the EuPM, along with regular task-parallel constructs, thereby enabling high degrees of composability and reusability. As demonstrated by our implementation, the EuPM can also be implemented efficiently. We use a cooperative runtime that uses delimited continuations to manage the termination of redundant tasks and their synchronization at join points. In contrast to current approaches, EuPM obviates the need for cumbersome manual refactoring by the programmer that may (for example) require the insertion of if checks and early return statements in every method in the call chain. Experimental results show that solutions using the EuPM simplify programmability, achieve performance comparable to hand-coded speculative task-based solutions and out-perform non-speculative task-based solutions.
机译:在本文中,我们描述了Eureka编程模型(EuPM),该模型简化了推测性并行任务的表达,特别适合并行搜索和优化应用程序。这项工作的重点是为一般结构化任务并行编程模型中的此类“尤里卡式”计算(EuSC)提供干净的语义,并有效地支持它们。在EuSC中,尤里卡事件是程序中的一个点,宣布已找到结果。由推测性任务触发的尤里卡可能导致一组相关的推测性任务变得多余,并使它们能够在定义明确的程序点处终止。我们的方法为发生这种尤里卡事件后的冗余推测任务中完成的其他工作提供了一个界限。我们确定了我们的尤里卡构造所支持的各种模式,包括搜索,优化,收敛和软实时期限。这些不同的计算模式还可以与常规的任务并行构造一起安全地组合或嵌套在EuPM中,从而实现高度的可组合性和可重用性。如我们的实施所示,EuPM也可以有效实施。我们使用协作运行时,该运行时使用定界的连续来管理冗余任务的终止及其在连接点的同步。与当前方法相比,EuPM消除了程序员繁琐的手动重构的需求,例如,可能需要在调用链中的每个方法中插入if检查和早期返回语句。实验结果表明,使用EuPM的解决方案简化了可编程性,达到了与手动编码的基于推测性任务的解决方案相当的性能,并且性能优于非推测性基于任务的解决方案。

著录项

  • 作者

    Imam Shams; Sarkar Vivek;

  • 作者单位
  • 年度 2015
  • 总页数
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号