International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 49 - Number 11 |
Year of Publication: 2012 |
Authors: Akhtar Rasool, Nilay Khare |
10.5120/7672-0963 |
Akhtar Rasool, Nilay Khare . Parallelization of KMP String Matching Algorithm on Different SIMD Architectures: Multi-Core and GPGPU’s. International Journal of Computer Applications. 49, 11 ( July 2012), 26-28. DOI=10.5120/7672-0963
String matching is a classical problem in computer science. After the study of the Naïve string search, Brute Force and the KMP algorithm, several advantages and disadvantages of the algorithms have been analyzed. Considering KMP in particular concept of parallelization has been introduced to improve the performance of the KMP algorithm. The algorithm is designed to work on SIMD parallel architecture where text is divided for parallel processing and special searching at division point is required for consistent and complete searching. This algorithm reduces the number of comparisons and parallelization improves the time efficiency. This algorithm achieves a better result as compared to the multithreaded version of the algorithm where again by text dividing, the parallelization is achieved.