Parallelism generics for Ada 2005 and beyond

Author:

Moore Brad J.1

Affiliation:

1. General Dynamics Canada, Calgary, AB, Canada

Abstract

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++ 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 language to further facilitate writing parallel applications.

Publisher

Association for Computing Machinery (ACM)

Reference11 articles.

1. Reducers and other Cilk++ hyperobjects

2. Burns A. Wellings A. Concurrent and Real-Time Programming in Ada Cambridge University Press 2007 Burns A. Wellings A. Concurrent and Real-Time Programming in Ada Cambridge University Press 2007

3. Taft S.T. Duff R. A. Bruckardt R.L. And Plödereder E. Eds (2000). Consolidated Ada Reference Manual. LNCS 2219 Springer-Verlag Taft S.T. Duff R. A. Bruckardt R.L. And Plödereder E. Eds (2000). Consolidated Ada Reference Manual. LNCS 2219 Springer-Verlag

4. Barney Blaise Lawrence Livermore National Laboratory https://computing.llnl.gov/tutorials/openMP/#WorkSharing (Sept 2010) Barney Blaise Lawrence Livermore National Laboratory https://computing.llnl.gov/tutorials/openMP/#WorkSharing (Sept 2010)

5. Comparing Java, C# and Ada monitors queuing policies

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3