计算机科学 > 程序设计语言
[提交于 2012年10月8日]
标题:Annotation of Logic Programs for Independent AND-Parallelism by Partial Evaluation
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Germán Vidal[v1] 2012年10月8日 星期一 00:00:00 UTC