arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2101.06584math.NAcs.MScs.NAcs.PF
收藏

基于AVX2的多分量浮点运算多精度矩阵乘法加速

Acceleration of multiple precision matrix multiplication based on multi-component floating-point arithmetic using AVX2

Tomonori Kouya

摘要:

本文报道了用AVX 2加速多二进制64型多精度矩阵乘法的结果。我们的目标是通过某些类型的无错误变换(EFT)算法设计的双精度(DD)、三倍精度(TD)和四倍精度(QD)算法。在x86_64计算环境下,实现了四个二进制64数同时计算的SIMD化EFT函数,并利用它们开发了SIMD化DD、TD和QD加法和乘法。此外,还采用了AVX 2加载/存储功能,以有效地加快从/向存储器读取和存储矩阵元素的速度。由于这些组合技术,我们实现的多精度矩阵乘法与非加速的相比加速了三倍以上。我们的加速矩阵乘法修改与OpenMP并行化的性能。

英文摘要:

In this paper, we report the results obtained from the acceleration of multi-binary64-type multiple precision matrix multiplication with AVX2. We target double-double (DD), triple-double (TD), and quad-double (QD) precision arithmetic designed by certain types of error-free transformation (EFT) arithmetic. Furthermore, we implement SIMDized EFT functions, which simultaneously compute with four binary64 numbers on x86_64 computing environment, and by using help of them, we also develop SIMDized DD, TD, and QD additions and multiplications. In addition, AVX2 load/store functions were adopted to efficiently speed up reading and storing matrix elements from/to memory. Owing to these combined techniques, our implemented multiple precision matrix multiplications have been accelerated more than three times compared with non-accelerated ones. Our accelerated matrix multiplication modifies the performance of parallelization with OpenMP.

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

↑