arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.14117cs.DCcs.ARcs.MS
收藏

使用加速器评估 POSIT 算术

Evaluation of POSIT Arithmetic with Accelerators

Naohito Nakasato, Yuki Murakami, Fumiya Kono, Maho Nakata

AI总结:

该研究在 FPGA 与 GPU 上实现 Posit(32,2) 加速器,评估其对稠密矩阵 Cholesky 和 LU 分解的加速、精度及能效,发现其精度优于标准 32 位格式且最新 GPU 能效更高。

摘要:

我们通过在 FPGA 和 GPU 上将 32 位 POSIT 算术实现为加速器,对其进行了评估。POSIT 是一种浮点数格式,可自适应地改变其小数部分的大小。我们开发了面向 FPGA 的硬件设计和面向 GPU 的软件,以使用 Posit(32,2) 算术加速线性代数运算。我们基于 FPGA 和 GPU 的 Posit(32,2) 算术加速器显著加速了稠密矩阵的 Cholesky 分解和 LU 分解算法。在数值精度方面,Posit(32,2) 算术比标准 32 位格式的精度高约 0.5 至 1.0 位数字,尤其是在输入矩阵元素的范数接近 1 时。在评估功耗时,我们观察到,对于 Posit(32,2) 算术中的 LU 分解,加速器的能效范围为 0.043 至 0.076 Gflops/瓦。最新 GPU 作为 Posit(32,2) 算术加速器的能效优于所评估的 FPGA 芯片。

英文摘要:

We present an evaluation of 32-bit POSIT arithmetic through its implementation as accelerators on FPGAs and GPUs. POSIT, a floating-point number format, adaptively changes the size of its fractional part. We developed hardware designs for FPGAs and software for GPUs to accelerate linear algebra operations using Posit(32,2) arithmetic. Our FPGA- and GPU-based accelerators in Posit(32,2) arithmetic significantly accelerated the Cholesky and LU decomposition algorithms for dense matrices. In terms of numerical accuracy, Posit(32,2) arithmetic is approximately 0.5 - 1.0 digits more accurate than the standard 32-bit format, especially when the norm of the elements of the input matrix is close to 1. Evaluating power consumption, we observed that the power efficiency of the accelerators ranged between 0.043 - 0.076 Gflops/watts for the LU decomposition in Posit(32,2) arithmetic. The power efficiency of the latest GPUs as accelerators of Posit(32,2) arithmetic is better than that of the evaluated FPGA chip.

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

↑