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-BASED PROGRAM SYNTHESIS AND TRANSFORMATION | 2008年 / 4915卷
关键词
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
相关论文
共 24 条
  • [1] Effectiveness of abstract interpretation in automatic parallelization: A case study in logic programming
    Bueno, F
    De la Banda, MG
    Hermenegildo, M
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1999, 21 (02): : 189 - 239
  • [2] Cabeza D., 1996, P AGP 96 JOINT C DEC, P67
  • [3] CABEZA D, 2004, THESIS U POLITECNICA
  • [4] CASAS A, 2008, LNCS, V4902
  • [5] CASAS A, 2007, CLIP1120070 TU MADR
  • [6] Casas A, 2006, LECT NOTES COMPUT SC, V3945, P146
  • [7] Parallel execution of prolog programs: A survey
    Gupta, G
    Pontelli, E
    Ali, KAM
    Carlsson, M
    Hermenegildo, MV
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2001, 23 (04): : 472 - 602
  • [8] GUPTA G, 1994, INT C LOG PROGR, P93
  • [9] Parallelizing irregular and pointer-based computations automatically: Perspectives from logic and constraint programming
    Hermenegildo, M
    [J]. PARALLEL COMPUTING, 2000, 26 (13-14) : 1685 - 1708
  • [10] Hermenegildo M. V., 1991, New Generation Computing, V9, P233, DOI 10.1007/BF03037164