Accelerating Levenshtein and Damerau edit distance algorithms using GPU with unified memory

Khaled Balhaf, M. Alsmirat, M. Al-Ayyoub, Y. Jararweh, M. Shehab
{"title":"Accelerating Levenshtein and Damerau edit distance algorithms using GPU with unified memory","authors":"Khaled Balhaf, M. Alsmirat, M. Al-Ayyoub, Y. Jararweh, M. Shehab","doi":"10.1109/IACS.2017.7921937","DOIUrl":null,"url":null,"abstract":"String matching problems such as sequence alignment is one of the fundamental problems in many computer since fields such as natural language processing (NLP) and bioinformatics. Many algorithms have been proposed in the literature to address this problem. Some of these algorithms compute the edit distance between the two strings to perform the matching. However, these algorithms usually require long execution time. Many researches use high performance computing to reduce the execution time of many string matching algorithms. In this paper, we use the CUDA based Graphics Processing Unit (GPU) and the newly introduced Unified Memory(UM) to speed up the most common algorithms to compute the edit distance between two string. These algorithms are the Levenshtein and Damerau distance algorithms. Our results show that using GPU to implement the Levenshtein and Damerau distance algorithms improvements their execution times of about 11X and 12X respectively when compared to the sequential implementation. And an improvement of about 61X and 71X respectively can be achieved when GPU is used with unified memory.","PeriodicalId":180504,"journal":{"name":"2017 8th International Conference on Information and Communication Systems (ICICS)","volume":"9 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-04-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"17","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2017 8th International Conference on Information and Communication Systems (ICICS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IACS.2017.7921937","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 17

Abstract

String matching problems such as sequence alignment is one of the fundamental problems in many computer since fields such as natural language processing (NLP) and bioinformatics. Many algorithms have been proposed in the literature to address this problem. Some of these algorithms compute the edit distance between the two strings to perform the matching. However, these algorithms usually require long execution time. Many researches use high performance computing to reduce the execution time of many string matching algorithms. In this paper, we use the CUDA based Graphics Processing Unit (GPU) and the newly introduced Unified Memory(UM) to speed up the most common algorithms to compute the edit distance between two string. These algorithms are the Levenshtein and Damerau distance algorithms. Our results show that using GPU to implement the Levenshtein and Damerau distance algorithms improvements their execution times of about 11X and 12X respectively when compared to the sequential implementation. And an improvement of about 61X and 71X respectively can be achieved when GPU is used with unified memory.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
使用统一内存的GPU加速Levenshtein和Damerau编辑距离算法
序列比对等字符串匹配问题是自然语言处理和生物信息学等许多计算机领域的基本问题之一。文献中提出了许多算法来解决这个问题。其中一些算法计算两个字符串之间的编辑距离来执行匹配。然而,这些算法通常需要很长的执行时间。许多研究使用高性能计算来减少许多字符串匹配算法的执行时间。在本文中,我们使用基于CUDA的图形处理单元(GPU)和新引入的统一内存(UM)来加速最常见的算法来计算两个字符串之间的编辑距离。这些算法是Levenshtein和Damerau距离算法。我们的研究结果表明,使用GPU来实现Levenshtein和Damerau距离算法,与串行实现相比,它们的执行时间分别提高了约11倍和12倍。在使用统一内存的情况下,性能分别提高了61倍和71倍左右。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Using behaviour-driven development with hardware-software co-design for autonomous load management Efficient 3D placement of a UAV using particle swarm optimization A brain friendly tool to facilitate research-teaching nexus: Mind maps HidroMORE 2: An optimized and parallel version of HidroMORE Comparative analysis of MCDM methods for product aspect ranking: TOPSIS and VIKOR
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1