High performance CUDA-based implementation for the 2D version of the Maximum Subarray Problem (MSP)

Salah Saleh, Marwan Abdellah, Ahmed A. Abdel Raouf, Y. Kadah
{"title":"High performance CUDA-based implementation for the 2D version of the Maximum Subarray Problem (MSP)","authors":"Salah Saleh, Marwan Abdellah, Ahmed A. Abdel Raouf, Y. Kadah","doi":"10.1109/CIBEC.2012.6473291","DOIUrl":null,"url":null,"abstract":"The Maximum Subarray Problem (MSP) finds a segment of an array that has the maximum summation over all the other possible combinations. Different applications for this problem exist in various fields like genomic sequence analysis, data mining and computer vision. Several optimum linear-time solutions exist for the 1D version, however, the known upper bounds for the 2D version are cubic or near-cubic time; which makes it a problem of high complexity. In this work, a stage by stage high performance Graphics Processing Unit (GPU)-based implementation for solving the 2D version of the problem in a linear time relying on the Compute Unified Device Architecture (CUDA) technology is presented. It achieves more than 7X of speedup in performance compared to a single-threaded sequential implementation on the Central Processing Unit (CPU) for an array of size 5122.","PeriodicalId":416740,"journal":{"name":"2012 Cairo International Biomedical Engineering Conference (CIBEC)","volume":"90 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 Cairo International Biomedical Engineering Conference (CIBEC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CIBEC.2012.6473291","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

Abstract

The Maximum Subarray Problem (MSP) finds a segment of an array that has the maximum summation over all the other possible combinations. Different applications for this problem exist in various fields like genomic sequence analysis, data mining and computer vision. Several optimum linear-time solutions exist for the 1D version, however, the known upper bounds for the 2D version are cubic or near-cubic time; which makes it a problem of high complexity. In this work, a stage by stage high performance Graphics Processing Unit (GPU)-based implementation for solving the 2D version of the problem in a linear time relying on the Compute Unified Device Architecture (CUDA) technology is presented. It achieves more than 7X of speedup in performance compared to a single-threaded sequential implementation on the Central Processing Unit (CPU) for an array of size 5122.
基于cuda的2D版本最大子阵列问题(MSP)的高性能实现
最大子数组问题(MSP)找到一个数组的一个片段,它对所有其他可能的组合具有最大的总和。这一问题在基因组序列分析、数据挖掘和计算机视觉等各个领域都有不同的应用。一维版本存在几个最佳线性时间解,然而,二维版本的已知上界是三次或近三次时间;这使得它成为一个高度复杂的问题。在这项工作中,提出了基于计算统一设备架构(CUDA)技术的分阶段高性能图形处理单元(GPU)的实现,用于在线性时间内解决问题的2D版本。对于大小为5122的数组,与中央处理单元(CPU)上的单线程顺序实现相比,它在性能上实现了7倍以上的加速。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信