首页> 外文OA文献 >The CDG, UDG, and MEL methods for automatic compile-time parallelization of logic programs for independent and-parallelism
【2h】

The CDG, UDG, and MEL methods for automatic compile-time parallelization of logic programs for independent and-parallelism

机译:CDG,UDG和MEL方法,用于逻辑程序的自动编译时并行化,以实现独立和并行

摘要

There has been significant interest in parallel execution models for logic programs which exploit Independent And-Parallelism (IAP). In these models, it is necessary to determine which goals are independent and therefore eligibleudfor parallel execution and which goals have to wait for which others during execution. Although this can be done at run-time, it can imply a very heavy overhead. In this paper, we present three algorithms for automatic compiletimeudparallelization of logic programs using IAP. This is done by converting a clause into a graph-based computational form and then transforming this graph into linear expressions based on &-Prolog, a language for IAP. We also present an algorithm which, given a clause, determines if there is any loss of parallelism due to linearization, for the case in which only unconditional parallelism is desired. Finally, the performance of these annotation algorithms is discussed for some benchmark programs.
机译:利用独立与并行(IAP)的逻辑程序的并行执行模型引起了人们的极大兴趣。在这些模型中,有必要确定哪些目标是独立的,因此有资格执行并行执行,哪些目标在执行过程中必须等待其他目标。尽管可以在运行时完成此操作,但这可能意味着非常沉重的开销。在本文中,我们提出了三种使用IAP进行逻辑程序自动编译/非并行化的算法。这是通过将子句转换为基于图的计算形式,然后基于&-Prolog(IAP的一种语言)将该图转换为线性表达式来完成的。我们还提出了一种算法,该算法在给定一个子句的情况下,如果只需要无条件并行性,则确定是否由于线性化而导致并行性损失。最后,针对某些基准程序讨论了这些注释算法的性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号