arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.02025cs.MScs.CC
收藏

高性能1级和2级BLAS

High-Performance Level-1 and Level-2 BLAS

Amit Singh, Cem Bassoy

摘要:

20世纪70年代,基本线性代数子程序(BLAS)的引入为不同的库使用改进的方法和硬件解决同一问题铺平了道路。新的BLAS实施带来了高性能计算(HPC)创新。所有的爱去了3级BLAS由于其巨大的应用在不同的领域,而不是由计算机科学的束缚。然而,第一层和第二层被忽略了,我们试图通过引入新的算法来解决这个问题的矢量矢量点积,矢量矢量外积和矩阵矢量积,这在一个显着的方式提高了这些操作的性能。我们不引入任何库,而是引入算法,这改进了当前最先进的算法。此外,我们依赖于FMA指令、OpenMP和编译器来优化代码,而不是在汇编中实现算法。因此,我们当前的实现是机器不经意的,并且取决于编译器优化代码的能力。

英文摘要:

The introduction of the Basic Linear Algebra Subroutine (BLAS) in the 1970s paved the way for different libraries to solve the same problem with an improved approach and hardware. The new BLAS implementation led to High-Performance Computing (HPC) innovation. All the love went to the level 3 BLAS due to its humongous application in different fields, not bounded by computer science. However, level 1 and level 2 got neglected; we tried to solve the problem by introducing the new algorithm for the Vector-Vector dot product, Vector-Vector outer product and Matrix-Vector product, which improves the performance of these operations in a significant way. We are not introducing any library but algorithms, which improves upon the current state of art algorithms. Also, we rely on the FMA instruction, OpenMP, and the compiler to optimize the code rather than implementing the algorithm in assembly. Therefore, our current implementation is machine oblivious and depends on the compilers ability to optimize the code.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑