首页> 外文会议>Design, Automation & Test in Europe Conference & Exhibition;DATE 10 >Multithreaded code from synchronous programs: Extracting independent threads for OpenMP
【24h】

Multithreaded code from synchronous programs: Extracting independent threads for OpenMP

机译:同步程序中的多线程代码:为OpenMP提取独立线程

获取原文

摘要

Synchronous languages offer a deterministic model of concurrency at the level of actions. However, essentially all compilers for synchronous languages compile these actions into a single thread by sophisticated methods to guarantee dynamic schedules for the sequential execution of these actions. In this paper, we present the compilation of synchronous programs to multi-threaded OpenMP-based C programs. We thereby start at the level of synchronous guarded actions which is a comfortable intermediate language for synchronous languages. In addition to the explicit parallelism given in the source program, our method also exploits the implicit parallelism which is due to the underlying synchronous model of computation and the data dependencies of the guarded actions. We show how viable tasks can be constructed from the actions of a program and show the feasibility of our approach by a small example.
机译:同步语言在操作级别提供了确定性的并发模型。但是,实际上,所有用于同步语言的编译器都通过复杂的方法将这些动作编译为单个线程,以保证顺序执行这些动作的动态时间表。在本文中,我们介绍了将同步程序编译为基于多线程OpenMP的C程序。因此,我们从同步防护动作的级别开始,它是同步语言的舒适中间语言。除了源程序中给出的显式并行性外,我们的方法还利用了隐式并行性,这是由于底层的同步计算模型和受保护操作的数据相关性引起的。我们通过一个程序的动作展示了如何构建可行的任务,并通过一个小例子展示了我们的方法的可行性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号