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

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

计算机科学 > 数学软件

arXiv:1504.05022 (cs)
[提交于 2015年4月20日 (v1),最后修订于 2015年9月13日 (此版本, v2)]

标题:A Framework for General Sparse Matrix-Matrix Multiplication on GPUs and Heterogeneous Processors

作者:Weifeng Liu, Brian Vinter
查看论文《A Framework for General Sparse Matrix-Matrix Multiplication on GPUs and Heterogeneous Processors》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:General sparse matrix-matrix multiplication (SpGEMM) is a fundamental building block for numerous applications such as algebraic multigrid method (AMG), breadth first search and shortest path problem. Compared to other sparse BLAS routines, an efficient parallel SpGEMM implementation has to handle extra irregularity from three aspects: (1) the number of nonzero entries in the resulting sparse matrix is unknown in advance, (2) very expensive parallel insert operations at random positions in the resulting sparse matrix dominate the execution time, and (3) load balancing must account for sparse data in both input matrices. In this work we propose a framework for SpGEMM on GPUs and emerging CPU-GPU heterogeneous processors. This framework particularly focuses on the above three problems. Memory pre-allocation for the resulting matrix is organized by a hybrid method that saves a large amount of global memory space and efficiently utilizes the very limited on-chip scratchpad memory. Parallel insert operations of the nonzero entries are implemented through the GPU merge path algorithm that is experimentally found to be the fastest GPU merge approach. Load balancing builds on the number of necessary arithmetic operations on the nonzero entries and is guaranteed in all stages. Compared with the state-of-the-art CPU and GPU SpGEMM methods, our approach delivers excellent absolute performance and relative speedups on various benchmarks multiplying matrices with diverse sparsity structures. Furthermore, on heterogeneous processors, our SpGEMM approach achieves higher throughput by using re-allocatable shared virtual memory. The source code of this work is available at https://github.com/bhSPARSE/Benchmark_SpGEMM_using_CSR
评论: 25 pages, 12 figures, published at Journal of Parallel and Distributed Computing (JPDC)
主题: 数学软件 (cs.MS); 分布式、并行与集群计算 (cs.DC); 数值分析 (cs.NA); 数值分析 (math.NA)
引用方式: arXiv:1504.05022 [cs.MS]
  (或者 arXiv:1504.05022v2 [cs.MS] 对于此版本)
  https://doi.org/10.48550/arXiv.1504.05022
相关 DOI: https://doi.org/10.1016/j.jpdc.2015.06.010

提交历史

来自:Weifeng Liu
[v1] 2015年4月20日 星期一 11:58:05 UTC (2,028 KB)
[v2] 2015年9月13日 星期日 07:38:29 UTC (2,145 KB)
全文链接:

访问论文:

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

当前浏览上下文:

math.NA
< 上一篇   |   下一篇 >
最新 | 近期 | 2015-09
切换浏览方式为:
cs
cs.MS
cs.DC
cs.NA

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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