On supernode transformations and multithreading for the longest common subsequence problem
AusPDC '12 Proceedings of the Tenth Australasian Symposium on Parallel and Distributed Computing - Volume 127
A Case Study of Implementing Supernode Transformations
International Journal of Parallel Programming
Hi-index | 0.00 |
We address in this paper the design and analysis of cost-optimal parallel algorithms for solving the problem of the longest common subsequence. Starting from the standard sequential dynamic programming algorithm which has the structure of a perfect nest of two embedded loops, we make use of a specific three-step parallelization approach consisting in (i) a dependence analysis within the nest ; (ii) the determination of a particular unimodular transformation leading to a new nest whose second loop is parallel ; (iii) the design of two linear time schedulings for the derived parallel algorithm when a given number of processors is available. The first scheduling is fitted to the nest structure while the second is greedy oriented and optimal. The makespans of the two schedulings are explicitly determined. This permits to establish a comparison showing their respective efficiencies.