Title :
Parallel Algorithm for Approximate String Matching with K Differences
Author :
Longjiang Guo ; Shufang Du ; Meirui Ren ; Yu Liu ; Jinbao Li ; Jing He ; Ning Tian ; Keqin Li
Author_Institution :
Sch. of Comput. Sci. & Technol., Heilongjiang Univ., Harbin, China
Abstract :
Approximate string matching using the k-difference technique has been widely applied to many fields such as pattern recognition and computational biology. Data dependency exists in the traditional sequential algorithm. Therefore, it is hard to design a parallel algorithm for approximate string matching with k differences. This paper presents a technique to eliminate data dependency. Based on this technique, this paper also presents a parallel algorithm which can calculate the elements in the same row of the edit distance matrix in parallel by eliminating data dependency. The algorithm has high parallelism, but requires synchronization. To validate the proposed algorithm, it is implemented on GPU and multiple-core CPUs. Moreover, the CUDA optimization techniques are also presented in the paper. Finally, experimental results show that, compared with the traditional sequential algorithm on CPU with twenty-four cores, the proposed parallel algorithm achieves speedup of 7-42 on GPU.
Keywords :
graphics processing units; multiprocessing systems; parallel algorithms; parallel architectures; string matching; synchronisation; CUDA optimization techniques; GPU; approximate string matching; computational biology; compute unified device architecture; data dependency; edit distance matrix; graphics processing unit; k-difference technique; multiple-core CPU; parallel algorithm; parallelism; pattern recognition; sequential algorithm; synchronization; Algorithm design and analysis; Approximation algorithms; Graphics processing units; Heuristic algorithms; Parallel algorithms; Pattern matching; Approximate string matching; GPU; edit distance; k differences; parallel algorithm;
Conference_Titel :
Networking, Architecture and Storage (NAS), 2013 IEEE Eighth International Conference on
Conference_Location :
Xi´an
DOI :
10.1109/NAS.2013.40