...
首页> 外文期刊>The Journal of Logic Programming >Automatic compile-time parallelization of logic programs for restricted, goal level, independent and parallelism
【24h】

Automatic compile-time parallelization of logic programs for restricted, goal level, independent and parallelism

机译:逻辑程序的自动编译时并行化,用于受限,目标级别,独立和并行

获取原文
           

摘要

A framework for the automatic parallelization of (constraint) logic programs is proposed and proved correct. Intuitively, the parallelization process replaces conjunctions of literals with parallel expressions. Such expressions trigger at run-time the exploitation of restricted, goal-level, independent and parallelism. The parallelization process performs two steps. The first one builds a conditional dependency graph (which can be simplified using compile-time analysis information), while the second transforms the resulting graph into linear conditional expressions, the parallel expressions of the &-Prolog language. Several heuristic algorithms for the latter (`annotation') process are proposed and proved correct. Algorithms are also given which determine if there is any loss of parallelism in the linearization process with respect to a proposed notion of maximal parallelism. Finally, a system is presented which implements the proposed approach. The performance of the different annotation algorithms is compared experimentally in this system by studying the time spent in parallelization and the effectiveness of the results in terms of speedups.
机译:提出了(约束)逻辑程序自动并行化的框架,并证明是正确的。直观地讲,并行化过程用并行表达式代替文字的连接。这样的表达式在运行时触发对受限,目标级别,独立和并行性的利用。并行化过程执行两个步骤。第一个构建一个条件依赖图(可以使用编译时分析信息进行简化),而第二个将结果图转换为线性条件表达式,即&-Prolog语言的并行表达式。提出了几种针对后者(“注释”)过程的启发式算法,并证明是正确的。还给出了用于确定线性化过程中相对于所提出的最大并行度概念是否存在任何并行度损失的算法。最后,提出了一种实现所提出方法的系统。通过研究在并行化上花费的时间和结果在加速方面的有效性,在该系统中通过实验比较了不同注释算法的性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号