首页> 外文会议>ACM international conference on supercomputing >cISpMV: A Cross-Platform OpenCL SpMV Framework on GPUs
【24h】

cISpMV: A Cross-Platform OpenCL SpMV Framework on GPUs

机译:cISpMV:GPU上的跨平台OpenCL SpMV框架

获取原文

摘要

Sparse matrix vector multiplication (SpMV) kernel is a key computation in linear algebra. Most iterative methods are composed of SpMV operations with BLAS1 updates. Therefore, researchers make extensive efforts to optimize the SpMV kernel in sparse linear algebra. With the appearance of OpenCL. a programming language that standardizes parallel programming across a wide variety of heterogeneous platforms, we are able to optimize the SpMV kernel on many different platforms. In this paper, we propose a new sparse matrix format, the Cocktail Format, to take advantage of the strengths of many different sparse matrix formats. Based on the Cocktail Format, we develop the cl pMV framework that is able to analyze all kinds of sparse matrices at runtime, and recommend the best representations of the given sparse matrices on different platforms. Although solutions that are portable across diverse platforms generally provide lower performance when compared to solutions that are specialized to particular plat forms, our experimental results show that cl pMV can find the best representations of the input sparse matrices on both Nvidia and AMD platforms, and deliver 83% higher performance compared to the vendor optimized CUDA implementation of the proposed hybrid sparse format in [3i, and 63.6% higher performance compared to the CUDA implementations of all sparse formats in i3j.
机译:稀疏矩阵向量乘法(SpMV)内核是线性代数中的关键计算。大多数迭代方法由SpMV操作和BLAS1更新组成。因此,研究人员付出了巨大的努力来优化稀疏线性代数中的SpMV内核。随着OpenCL的出现。作为一种标准化跨多种异构平台的并行编程的编程语言,我们能够在许多不同的平台上优化SpMV内核。在本文中,我们提出了一种新的稀疏矩阵格式,即鸡尾酒格式,以利用许多不同的稀疏矩阵格式的优势。基于鸡尾酒格式,我们开发了cl pMV框架,该框架能够在运行时分析各种稀疏矩阵,并在不同平台上推荐给定稀疏矩阵的最佳表示形式。尽管与专用于特定平台的解决方案相比,可跨多种平台移植的解决方案通常提供较低的性能,但我们的实验结果表明,cl pMV可以在Nvidia和AMD平台上找到输入稀疏矩阵的最佳表示,并可以提供与[3i]中建议的混合稀疏格式的供应商优化的CUDA实现相比,性能提高了83%,与i3j中所有稀疏格式的CUDA实现相比,性能提高了63.6%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号