【24h】

Parallelism Generics for Ada 2005 and Beyond

机译:Ada 2005及更高版本的并行通用

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

摘要

The Ada programming language is seemingly well-positioned to take advantage of emerging multi-core technologies. While it has always been possible to write parallel algorithms in Ada, there are certain classes of problems however, where the level of effort to write parallel algorithms outweighs the ease and simplicity of a sequential approach. This can result in lost opportunities for parallelism and slower running software programs. Languages such as Cilk++[1] and OpenMB provide expressive mechanisms to add parallelism to code using a C++ based syntax by adding special syntactic directives where parallelism is desired. This paper explores Ada's concurrency features to see whether it is possible to easily inject similar iterative and recursive parallelism to code written in Ada, without having to resort to special language extensions or non-standard language features. This paper identifies a "work-seeking" technique, which can be viewed as a form of compromise between work-sharing and work-stealing, two other existing strategies. The paper presents performance results to illustrate the benefits of use for the generics and goes on to suggest how parallelism pragmas could possibly be added to the Ada programming language to further facilitate writing parallel applications.
机译:Ada编程语言似乎可以很好地利用新兴的多核技术。尽管始终可以使用Ada编写并行算法,但是仍然存在某些类别的问题,其中编写并行算法的工作量超过了顺序方法的简便性。这可能会导致失去并行性的机会和运行速度较慢的软件程序。诸如Cilk ++ [1]和OpenMB之类的语言提供了表达机制,通过在需要并行性的地方添加特殊的语法指令,可以使用基于C ++的语法向代码添加并行性。本文探讨了Ada的并发功能,以查看是否可以轻松地向用Ada编写的代码注入相似的迭代和递归并行性,而不必诉诸特殊的语言扩展或非标准的语言功能。本文确定了一种“寻求工作”技术,可以将其视为工作共享和工作窃取(两种其他现有策略)之间的折衷形式。本文介绍了性能结果,以说明使用泛型的好处,并继续建议如何将并行性实用程序添加到Ada编程语言中,以进一步促进编写并行应用程序。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号