Annotation Algorithms for Unrestricted Independent And-Parallelism in Logic Programs

  • Authors:
  • Amadeo Casas;Manuel Carro;Manuel V. Hermenegildo

  • Affiliations:
  • Depts. of Comp. Science and Electr. and Comp. Eng., Univ. of New Mexico, USA;School of Computer Science, Universidad Politécnica de Madrid, Spain;Depts. of Comp. Science and Electr. and Comp. Eng., Univ. of New Mexico, USA and School of Computer Science, Universidad Politécnica de Madrid, Spain

  • Venue:
  • Logic-Based Program Synthesis and Transformation
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present two new algorithms which perform automatic parallelization via source-to-source transformations. The objective is to exploit goal-level, unrestrictedindependent and-parallelism. The proposed algorithms use as targets new parallel execution primitives which are simpler and more flexible than the well-known &/2parallel 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.