arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2412.01852cs.PFcs.DS
收藏

将平面旋转序列高效应用于矩阵的通信高效方法

Communication efficient application of sequences of planar rotations to a matrix

Thijs Steel, Julien Langou

AI总结:

针对特征值数值线性代数中平面旋转序列的矩阵应用,论文提出融合寄存器复用内核、分块打包与内存操作分析的高效算法,实验性能超越现有方法并接近硬件理论峰值。

摘要:

我们提出了一种用于将平面旋转序列应用于矩阵的高效算法。在许多用于特征值计算的数值线性代数算法中,高效应用此类序列非常重要。我们的算法主要在三个方面具有新颖性。首先,我们引入了一种新的内核,以一种新颖的方式针对寄存器复用进行了优化。其次,我们提出了一种分块与打包方案,可提高算法的缓存效率。最后,我们全面分析了该算法的内存操作,由此得出重要的理论洞见,并使选择良好参数变得更加容易。数值实验表明,我们的算法优于现有最先进方法,并在现代硬件上实现了接近理论峰值的浮点运算率。

英文摘要:

We present an efficient algorithm for the application of sequences of planar rotations to a matrix. Applying such sequences efficiently is important in many numerical linear algebra algorithms for eigenvalues. Our algorithm is novel in three main ways. First, we introduce a new kernel that is optimized for register reuse in a novel way. Second, we introduce a blocking and packing scheme that improves the cache efficiency of the algorithm. Finally, we thoroughly analyze the memory operations of the algorithm which leads to important theoretical insights and makes it easier to select good parameters. Numerical experiments show that our algorithm outperforms the state-of-the-art and achieves a flop rate close to the theoretical peak on modern hardware.

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

↑