GPU accelerated computation of the longest common subsequence

  • Authors:
  • Katsuya Kawanami;Noriyuki Fujimoto

  • Affiliations:
  • Sakai-shi, Osaka, Japan;Sakai-shi, Osaka, Japan

  • Venue:
  • Facing the Multicore-Challenge II
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

The longest common subsequence (LCS for short) for given two strings has various applications, e.g. comparison of DNAs. In this paper, we propose a GPU algorithm to accelerate Hirschberg's CPU LCS algorithm improved using Crochemore et al's bit-parallel CPU algorithm. Crochemore's algorithm includes bitwise logical operators which can be computed in embarrassingly parallel. However, it also includes an operator with less parallelism, i.e. an arithmetic sum. In this paper, we focus on how to implement these operators efficiently in parallel. Our experiments with 2.93GHz Intel Core i3 530 CPU, GeForce 8800 GTX, GTX 285, and GTX 480 GPUs show that the proposed algorithm runs maximum 12.77 times faster than the bit-parallel CPU algorithm and maximum 76.5 times faster than Hirschberg's LCS CPU algorithm. Furthermore, the proposed algorithm runs 10.9 to 18.1 times faster than Kloetzli's existing GPU algorithm.