arXiv · 1210.1665
Annotation of Logic Programs for Independent AND-Parallelism by Partial Evaluation
Abstract
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.
Explore related subjects
Keep this discovery
Germán Vidal. 2012-10-05. Annotation of Logic Programs for Independent AND-Parallelism by Partial Evaluation. https://doi.org/10.1017/s1471068412000191
Cite the original work for its findings. Save a collection to share your selection of sources.