Title :
High performance CUDA-based implementation for the 2D version of the Maximum Subarray Problem (MSP)
Author :
Saleh, Saleh ; Abdellah, Marwan ; Raouf, A.A.A. ; Kadah, Yasser M.
Author_Institution :
Syst. & Biomed. Eng. Dept., Cairo Univ., Cairo, Egypt
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.
Keywords :
digital arithmetic; graphics processing units; parallel architectures; performance evaluation; 2D version; CPU; GPU; MSP; array segmentation; central processing unit; compute unified device architecture technology; computer vision; data mining; digital arithmetic; genomic sequence analysis; graphics processing unit; high performance CUDA based implementation; maximum subarray problem; maximum summation; Algorithm design and analysis; Arrays; Complexity theory; Graphics processing units; Parallel algorithms; CUDA; GPU Implementation; Maximum Subarray; Prefix Sum; Speedup;
Conference_Titel :
Biomedical Engineering Conference (CIBEC), 2012 Cairo International
Conference_Location :
Giza
Print_ISBN :
978-1-4673-2800-5
DOI :
10.1109/CIBEC.2012.6473291