Annotation algorithms for unrestricted independent and-parallelism in logic programs

被引:7
|
作者
Casas, Amadeo [1 ]
Carro, Manuel [2 ]
Hermenegildo, Manuel V. [1 ,2 ]
机构
[1] Univ New Mexico, Dept Comp Sci & Elect, Albuquerque, NM 87131 USA
[2] Univ Politecn Madrid, Sch Comp Sci, Madrid, Spain
关键词
logic programming; automatic parallelization; and-parallelism; program transformation;
D O I
10.1007/978-3-540-78769-3_10
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We present two new algorithms which perform automatic parallelization via source-to-source transformations. The objective is to exploit goal-level, unrestricted independent and-parallelism. The proposed algorithms use as targets new parallel execution primitives which are simpler and more flexible than the well-known &/2 parallel operator. This makes it possible to generate better parallel expressions by exposing more potential parallelism among the literals of a clause than is possible with &/2. The difference between the two algorithms stems from whether the order of the solutions obtained is preserved or not. We also report on a preliminary evaluation of an implementation of our approach. We compare the performance obtained to that of previous annotation algorithms and show that relevant improvements can be obtained.
引用
收藏
页码:138 / +
页数:4
相关论文
共 50 条