首页> 外文会议>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平台上找到输入稀疏矩阵的最佳表示,并提供与供应商优化的CUDA实现相比,表现较高的83%,与[3I]中提出的[3i,比例更高的表现更高的速度,与I3J中的所有稀疏格式的CUDA实现相比,63.6%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号