首页    期刊浏览 2024年09月29日 星期日
登录注册

文章基本信息

  • 标题:Design Patterns for Sparse-Matrix Computations on Hybrid CPU/GPU Platforms
  • 本地全文:下载
  • 作者:Valeria Cardellini ; Salvatore Filippone ; Damian W.I. Rouson
  • 期刊名称:Scientific Programming
  • 印刷版ISSN:1058-9244
  • 出版年度:2014
  • 卷号:22
  • 期号:1
  • 页码:1-19
  • DOI:10.1155/2014/469753
  • 出版社:Hindawi Publishing Corporation
  • 摘要:

    We apply object-oriented software design patterns to develop code for scientific software involving sparse matrices. Design patterns arise when multiple independent developments produce similar designs which converge onto a generic solution. We demonstrate how to use design patterns to implement an interface for sparse matrix computations on NVIDIA GPUs starting from PSBLAS, an existing sparse matrix library, and from existing sets of GPU kernels for sparse matrices. We also compare the throughput of the PSBLAS sparse matrix–vector multiplication on two platforms exploiting the GPU with that obtained by a CPU-only PSBLAS implementation. Our experiments exhibit encouraging results regarding the comparison between CPU and GPU executions in double precision, obtaining a speedup of up to 35.35 on NVIDIA GTX 285 with respect to AMD Athlon 7750, and up to 10.15 on NVIDIA Tesla C2050 with respect to Intel Xeon X5650.

  • 关键词:Design patterns; sparse matrices; GPGPU computing
国家哲学社会科学文献中心版权所有