Efficient Parallel Knuth-Morris-Pratt Algorithm for Multi-GPUs with CUDA

  • Kuan Ju Lin*
  • , Yi Hsuan Huang
  • , Chun Yuan Lin
  • *Corresponding author for this work

    Research output: Chapter in Book/Report/Conference proceedingChapterpeer-review

    8 Scopus citations

    Abstract

    String matching is an important technique among various applications. The traditional string matching algorithm needs the backtracking procedure and does the comparison repeatedly, thus these factors affect its efficiency. Knuth-Morris-Pratt (KMP) is one of well-known and efficient string matching algorithms. However, the computation time of KMP algorithm still is large for processing thousands of pattern strings. Current high-end graphics processing units (GPUs), contain up to hundreds cores per chip, are very popular in the high performance computing community. In this paper, we proposed an efficient parallel KMP algorithm, called KMP-GPU, for multi-GPUs with CUDA. The experimental results showed that the proposed KMP-GPU algorithm can achieve 97x speedups compared with the CPU-based KMP algorithm.

    Original languageEnglish
    Title of host publicationAdvances in Intelligent Systems and Applications - Volume 2
    Subtitle of host publicationProceedings of the International Computer
    EditorsChang Ruay-Shiung, Peng Sheng-Lung, Lin Chia-Chen
    Pages543-552
    Number of pages10
    DOIs
    StatePublished - 2013

    Publication series

    NameSmart Innovation, Systems and Technologies
    Volume21
    ISSN (Print)2190-3018
    ISSN (Electronic)2190-3026

    Keywords

    • CUDA
    • Graphics Processing Units
    • Knuth-Morris-Pratt
    • Parallel Processing
    • String matching

    Fingerprint

    Dive into the research topics of 'Efficient Parallel Knuth-Morris-Pratt Algorithm for Multi-GPUs with CUDA'. Together they form a unique fingerprint.

    Cite this