A Memory-Access-Efficient Implementation for Computing the Approximate String Matching Algorithm on GPUs

被引:1
|
作者
Nunes, Lucas Saad Nogueira [1 ]
Bordim, Jacir Luiz [1 ]
Ito, Yasuaki [2 ]
Nakano, Koji [2 ]
机构
[1] Univ Brasilia, Dept Comp Sci, BR-70910900 Brasilia, DF, Brazil
[2] Hiroshima Univ, Dept Informat Engn, Higashihiroshima 7398527, Japan
关键词
approximate string matching; edit distance; GPU; CUDA; shuffle instructions;
D O I
10.1587/transinf.2016PAP0024
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The closeness of a match is an important measure with a number of practical applications, including computational biology, signal processing and text retrieval. The approximate string matching (ASM) problem asks to find a substring of string Y of length n that is most similar to string X of length m. It is well-know that the ASM can be solved by dynamic programming technique by computing a table of size m x n. The main contribution of this work is to present a memory-access-efficient implementation for computing the ASM on a GPU. The proposed GPU implementation relies on warp shuffle instructions which are used to accelerate the communication between threads without resorting to shared memory access. Despite the fact that O(mn) memory access operations are necessary to access all elements of a table with size n x m, the proposed implementation performs only O(mn w) memory access operations, where w is the warp size. Experimental results carried out on a GeForce GTX 980 GPU show that the proposed implementation, called w-SCAN, provides speed-up of over two fold in computing the ASM as compared to another prominent alternative.
引用
收藏
页码:2995 / 3003
页数:9
相关论文
共 50 条
  • [1] A Memory-Access-Efficient Implementation of the Approximate String Matching Algorithm on GPU
    Nunes, Lucas S. N.
    Bordim, J. L.
    Nakano, K.
    Ito, Y.
    [J]. 2016 FOURTH INTERNATIONAL SYMPOSIUM ON COMPUTING AND NETWORKING (CANDAR), 2016, : 483 - 489
  • [2] A Memory-Access-Efficient Adaptive Implementation of kNN on FPGA through HLS
    Song, Xiaojia
    Xie, Tao
    Fischer, Stephen
    [J]. 2019 IEEE 37TH INTERNATIONAL CONFERENCE ON COMPUTER DESIGN (ICCD 2019), 2019, : 177 - 180
  • [3] Hierarchical Parallelism of Bit-Parallel Algorithm for Approximate String Matching on GPUs
    Lin, Cheng-Hung
    Wang, Guan-Hong
    Huang, Chun-Cheng
    [J]. 2014 IEEE SYMPOSIUM ON COMPUTER APPLICATIONS AND COMMUNICATIONS (SCAC), 2014, : 76 - 81
  • [4] POSTER: A Memory-Access-Efficient Adaptive Implementation of kNN on FPGA through HLS
    Song, Xiaojia
    Xie, Tao
    Fischer, Stephen
    [J]. 2019 28TH INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES (PACT 2019), 2019, : 502 - 503
  • [5] Efficient Implementations of the Approximate String Matching on the Memory Machine Models
    Nakano, Koji
    [J]. 2012 THIRD INTERNATIONAL CONFERENCE ON NETWORKING AND COMPUTING (ICNC 2012), 2012, : 233 - 239
  • [6] Associative Memristive Memory for Approximate Computing in GPUs
    Ghofrani, Amirali
    Rahimi, Abbas
    Lastras-Montano, Miguel A.
    Benini, Luca
    Gupta, Rajesh K.
    Cheng, Kwang-Ting
    [J]. IEEE JOURNAL ON EMERGING AND SELECTED TOPICS IN CIRCUITS AND SYSTEMS, 2016, 6 (02) : 222 - 234
  • [7] A Memory-Efficient Pipelined Implementation of the Aho-Corasick String-Matching Algorithm
    Pao, Derek
    Lin, Wei
    Liu, Bin
    [J]. ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2010, 7 (02)
  • [8] A Consensus Algorithm for Approximate String Matching
    Rubio, Miguel
    Alba, Alfonso
    Mendez, Martin
    Arce-Santana, Edgar
    Rodriguez-Kessler, Margarita
    [J]. 3RD IBEROAMERICAN CONFERENCE ON ELECTRONICS ENGINEERING AND COMPUTER SCIENCE, CIIECC 2013, 2013, 7 : 322 - 327
  • [9] AN IMPROVED ALGORITHM FOR APPROXIMATE STRING MATCHING
    GALIL, Z
    PARK, K
    [J]. SIAM JOURNAL ON COMPUTING, 1990, 19 (06) : 989 - 999
  • [10] A randomized algorithm for approximate string matching
    Atallah, MJ
    Chyzak, F
    Dumas, P
    [J]. ALGORITHMICA, 2001, 29 (03) : 468 - 486