跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 分布式、并行与集群计算

arXiv:2008.01938 (cs)
[提交于 2020年8月6日]

标题:Solving Dynamic Programming Problem by Pipeline Implementation on GPU

作者:Susumu Matsumae, Makoto Miyazaki
查看论文《Solving Dynamic Programming Problem by Pipeline Implementation on GPU》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:In this paper, we show the effectiveness of a pipeline implementation of Dynamic Programming (DP) on GPU. As an example, we explain how to solve a matrix-chain multiplication (MCM) problem by DP on GPU. This problem can be sequentially solved in $O(n^3)$ steps by DP where $n$ is the number of matrices, because its solution table is of size $n \times n$ and each element of the table can be computed in $O(n)$ steps. A typical speedup strategy for this is to parallelize the $O(n)$ step computation of each element, which can be easily achieved by parallel prefix computation, i.e., an $O(\log n)$ step computation with $n$ threads in a tournament fashion. By such a standard parallelizing method, we can solve the MCM problem in $O(n^2 \log n)$ steps with $n$ threads. In our approach, we solve the MCM problem on GPU in a pipeline fashion, i.e., we use GPU cores for supporting pipeline-stages so that many elements of the solution table are partially computed in parallel at one time. Our implementation determines one output value per one computational step with $n$ threads in a pipeline fashion and constructs the solution table totally in $O(n^2)$ steps with $n$ threads.
主题: 分布式、并行与集群计算 (cs.DC)
引用方式: arXiv:2008.01938 [cs.DC]
  (或者 arXiv:2008.01938v1 [cs.DC] 对于此版本)
  https://doi.org/10.48550/arXiv.2008.01938
期刊参考: International Journal of Advanced Computer Science and Applications(IJACSA), Volume 9 Issue 12, 2018
相关 DOI: https://doi.org/10.14569/IJACSA.2018.091272

提交历史

来自:Susumu Matsumae
[v1] 2020年8月6日 星期四 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.DC
< 上一篇   |   下一篇 >
最新 | 近期 | 2020-08
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站