在FPGA上加速128位浮点矩阵乘法
Accelerating 128-bit Floating-Point Matrix Multiplication on FPGAs
AI总结:
本研究针对SDP等应用对高精度运算的需求及现有处理器支持不足的问题,在FPGA上实现了binary128精度GEMM加速,性能达90GFlops,是20线程CPU的147倍,并首次成功加速了LU分解与SDP问题。
摘要:
通用矩阵乘法(General Matrix Multiplication, GEMM)是科学计算中广泛使用的基础运算,其性能与精度对依赖它的应用的性能和精度有显著影响。半定规划(semidefinite programming, SDP)就是这类应用之一,它通常需要binary128或更高精度的算术运算才能稳定求解涉及SDP的问题。但目前仅部分处理器支持binary128算术运算,导致SDP求解器通常运行速度较慢。本研究聚焦于在现场可编程门阵列(field-programmable gate arrays, FPGAs)上加速采用binary128算术的GEMM,从而为目标计算实现灵活的加速器设计。我们在一款最新的高性能FPGA上实现的binary128 GEMM设计达到了约90GFlops的性能,针对大矩阵的运算速度是在20线程的最新CPU上执行的147倍。借助我们在FPGA上的binary128 GEMM设计,我们首次成功加速了两个数值应用:LU分解和SDP问题。
英文摘要:
General Matrix Multiplication (GEMM) is a fundamental operation widely used in scientific computations. Its performance and accuracy significantly impact the performance and accuracy of applications that depend on it. One such application is semidefinite programming (SDP), and it often requires binary128 or higher precision arithmetic to solve problems involving SDP stably. However, only some processors support binary128 arithmetic, which makes SDP solvers generally slow. In this study, we focused on accelerating GEMM with binary128 arithmetic on field-programmable gate arrays (FPGAs) to enable the flexible design of accelerators for the desired computations. Our binary128 GEMM designs on a recent high-performance FPGA achieved approximately 90GFlops, 147x faster than the computation executed on a recent CPU with 20 threads for large matrices. Using our binary128 GEMM design on the FPGA, we successfully accelerated two numerical applications: LU decomposition and SDP problems, for the first time.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。