首页> 外文会议>ACM international conference on supercomputing >Improving Numerical Accuracy for Non-Negative Matrix Multiplication on GPUs using Recursive Algorithms
【24h】

Improving Numerical Accuracy for Non-Negative Matrix Multiplication on GPUs using Recursive Algorithms

机译:使用递归算法提高GPU上非负矩阵乘法的数值精度

获取原文

摘要

Scientific computing is only bound by the limits of Moore's Law and the scalability of high performance mathematical library implementations. Most mathematical libraries however tend to focus only on general inputs, limiting their potential performance and scalability by not tailoring their implementation to specific inputs, such as non-negative inputs. By removing this limitation it is possible to improve the performance and accuracy of a range of problems. In this paper we explore the limitations of hardware to improve accuracy of non-negative matrix multiply by specifically comparing implementations on the GPU and CPU and propose algorithmic solutions to improve accuracy. Next, we demonstrate a matrix multiply implementation that takes advantage of asymptotically fast matrix multiply algorithms, which have been shown to scale better than O(N~3) matrix multiply implementations, and improve accuracy by up to a whole digit while increasing performance by up to 27% for matrices where the input is positive. Finally, we propose to extend the BLAS level 3 specification to non-negative matrices to allow easy integration of our solution and allow other library authors to implement their own solutions as part of an existing standard.
机译:科学计算仅受摩尔定律和高性能数学库实现可扩展性的限制。但是,大多数数学库往往只专注于常规输入,通过不针对特定输入(例如非负输入)量身定制其实现,从而限制了它们的潜在性能和可伸缩性。通过消除此限制,可以提高一系列问题的性能和准确性。在本文中,我们通过专门比较GPU和CPU上的实现,探讨了硬件在提高非负矩阵乘法精度方面的局限性,并提出了提高精度的算法解决方案。接下来,我们演示一种利用渐近快速矩阵乘法算法的矩阵乘法实现,该算法已被证明比O(N〜3)矩阵乘法实现更好的缩放,并提高了一个整数位数的精度,同时将性能提高了3个百分点。输入为正的矩阵为27%。最后,我们建议将BLAS 3级规范扩展到非负矩阵,以使我们的解决方案易于集成,并允许其他库作者将他们自己的解决方案作为现有标准的一部分来实施。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号