arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1210.1665cs.PLcs.SE
收藏

用部分求值法对独立与可积的逻辑程序进行注记

Annotation of Logic Programs for Independent AND-Parallelism by Partial Evaluation

Germán Vidal

摘要:

逻辑程序的自动AND并行化的传统方法依赖于一些静态分析来识别可以在任何可能的执行中安全且有效地并行运行的独立目标。在本文中,我们提出了一种新的技术,用于生成注释的独立与并行性,是基于部分评估。基本上,我们增加了一个简单的部分评估程序(运行时)接地和变量共享信息,使平行的连接词被添加到剩余条款时,独立的条件得到满足。与以前的方法相比,我们的部分评估器能够转换的源程序,以暴露更多的并行的机会。据我们所知,我们提出了第一种方法的并行部分评估。

英文摘要:

Traditional approaches to automatic AND-parallelization of logic programs rely on some static analysis to identify independent goals that can be safely and efficiently run in parallel in any possible execution. In this paper, we present a novel technique for generating annotations for independent AND-parallelism that is based on partial evaluation. Basically, we augment a simple partial evaluation procedure with (run-time) groundness and variable sharing information so that parallel conjunctions are added to the residual clauses when the conditions for independence are met. In contrast to previous approaches, our partial evaluator is able to transform the source program in order to expose more opportunities for parallelism. To the best of our knowledge, we present the first approach to a parallelizing partial evaluator.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑