首页> 外文期刊>International Journal of Parallel Programming >Parallel Iterator for Parallelizing Object-Oriented Applications
【24h】

Parallel Iterator for Parallelizing Object-Oriented Applications

机译:用于并行化面向对象应用程序的并行迭代器

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

摘要

With the advent of multi-core processors, desktop application developers must finally face parallel computing and its challenges. A large portion of the computational load in a program rests within iterative computations. In object-oriented languages these are commonly handled using iterators which are inadequate for parallel programming. This paper presents a powerful Parallel Iterator concept to be used in object-oriented programs for the parallel traversal of a collection of elements. The Parallel Iterator may be used with any collection type (even those inherently sequential) and it supports several scheduling schemes which may even be decided dynamically at run-time. Some additional features are provided to allow early termination of parallel loops, exception handling and a solution for performing reductions. With a slight contract modification, the Parallel Iterator interface imitates that of the Java-style sequential iterator. All these features combine together to promote minimal, if any, code restructuring. Along with the ease of use, the results reveal negligible overhead and the expected inherent speedup.
机译:随着多核处理器的出现,桌面应用程序开发人员最终必须面对并行计算及其挑战。程序中的很大一部分计算量在于迭代计算中。在面向对象的语言中,通常使用迭代器来处理这些迭代器,这些迭代器不足以进行并行编程。本文提出了一个强大的Parallel Iterator概念,该概念将在面向对象的程序中用于元素的并行遍历。并行迭代器可以与任何集合类型一起使用(甚至是固有的顺序集合),并且它支持几种调度方案,这些调度方案甚至可以在运行时动态确定。提供了一些附加功能,以允许尽早终止并行循环,异常处理和执行精简的解决方案。稍作修改,Parallel Iterator接口就模仿了Java风格的顺序迭代器。所有这些功能结合在一起可以促进最少的代码重组(如果有的话)。除了易于使用之外,结果还显示出可忽略的开销和预期的固有加速。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号