首页> 外文期刊>Brazilian Computer Society. Journal >Solving the maximum subsequence sum and related problems using BSP/CGM model and multi-GPU CUDA
【24h】

Solving the maximum subsequence sum and related problems using BSP/CGM model and multi-GPU CUDA

机译:使用BSP / CGM模型和多GPU CUDA解决最大子序列和及相关问题

获取原文
       

摘要

Abstract Background The maximum subsequence problem finds a contiguous subsequence of the largest sum of a sequence of n numbers. Solutions to this problem are used in various branches of science, especially in applications of computational biology. The best sequential solution to the problem has an O( n ) running time and uses dynamic programming. Although effective, this solution returns little information and disregards the existence of more than a maximum subsequence sum. Particularly in DNA analysis, if we find all maximum subsequence sums, we will also find all the possible pathogenicity islands, which are stretches with high possibility of causing some diseases. Methods We present new Bulk Synchronous Parallel/Coarse-Grained Multicomputer (BSP/CGM) parallel algorithms, which consider the existence of more than one subsequence of maximum sum, and are able to find solutions to three problems: the longest maximum subsequence sum, the shortest maximum subsequence sum, and the number of disjoint subsequences of maximum sum. To the best of our knowledge, there are no parallel BSP/CGM algorithms for the related problems. Taking advantage of the advent of general purpose graphics processing unit (GPGPU), we implemented our algorithms on multi-GPU with Compute Unified Device Architecture (CUDA) and, for comparison purposes, MPI and OpenMP implementations have also been developed. Results The algorithms presented good speedups, as confirmed by experimental results. They use p processors and require O( n / p ) parallel time with a constant number of communication rounds for the algorithm of the maximum subsequence sum and O(log p ) communication rounds, with O( n / p ) local computation per round, for the algorithms of the related problems. Conclusions We concluded that our algorithms for the maximum subsequence sum and related problems are unique and effective. We also believe that the BSP/CGM model can guide parallel implementations in modern architectures such as GPGPU/CUDA. As future work, we intend to extend these results to arrays with higher dimensions and compute all maximal subsequences in a given interval.
机译:抽象背景最大子序列问题找到n个数字序列的最大和的连续子序列。这个问题的解决方案被用于科学的各个领域,尤其是在计算生物学的应用中。对该问题的最佳顺序解决方案具有O(n)运行时间,并使用动态编程。尽管有效,该解决方案返回的信息很少,并且忽略了超过最大子序列和的存在。特别是在DNA分析中,如果找到所有最大子序列总和,我们还将找到所有可能的致病岛,这些岛很可能引起某些疾病。方法我们提出了新的大容量同步并行/粗粒度多计算机(BSP / CGM)并行算法,该算法考虑了存在多个最大和子序列,并且能够找到以下三个问题的解决方案:最长最大子序列和,最短的最大子序列和,以及最大和的不相交子序列数。据我们所知,没有相关问题的并行BSP / CGM算法。利用通用图形处理单元(GPGPU)的出现,我们在具有计算统一设备架构(CUDA)的多GPU上实现了我们的算法,并且出于比较目的,还开发了MPI和OpenMP实现。结果实验结果证实了算法的良好加速性能。他们使用p个处理器,并要求O(n / p)并行时间和恒定的通信回合次数以用于最大子序列和和O(log p)通信回合的算法,每回合需要O(n / p)本地计算,用于相关问题的算法。结论我们得出结论,我们的最大子序列和算法及相关问题是独特且有效的。我们也相信BSP / CGM模型可以指导现代架构(例如GPGPU / CUDA)中的并行实现。在将来的工作中,我们打算将这些结果扩展到具有更高维的数组,并计算给定间隔中的所有最大子序列。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号