拖延即所需:用于浮点数、Posits 和对数数的指数索引累加器
Procrastination Is All You Need: Exponent Indexed Accumulators for Floating Point, Posits and Logarithmic Numbers
AI总结:
提出指数索引累加器,通过按指数分桶累加尾数并重构结果,实现高效长序列浮点求和,并扩展至 posits 与对数数。
摘要:
本文讨论了一种简单而有效的长序列浮点数求和方法。该方法包括两个阶段:累加阶段,将浮点数的尾数加到由指数索引的累加器中;重构阶段,在此阶段确定实际的求和结果。文中给出了面向 FPGA 和 ASIC 的多种架构细节,包括将该操作与乘法器融合,以创建高效的 MAC。文中还展示了 FPGA 上的一些结果,包括一个 tensor core,能够在 AMD FPGA 上以 700+ MHz 的频率、使用约 6,400 个 LUT 加 64 个 DSP48,在每个时钟周期对两个 4×4 的 bfloat16 矩阵进行乘法和累加。随后,该方法被扩展到 posits 和对数数。
英文摘要:
This paper discusses a simple and effective method for the summation of long sequences of floating point numbers. The method comprises two phases: an accumulation phase where the mantissas of the floating point numbers are added to accumulators indexed by the exponents and a reconstruction phase where the actual summation result is finalised. Various architectural details are given for both FPGAs and ASICs including fusing the operation with a multiplier, creating efficient MACs. Some results are presented for FPGAs, including a tensor core capable of multiplying and accumulating two 4x4 matrices of bfloat16 values every clock cycle using ~6,400 LUTs + 64 DSP48 in AMD FPGAs at 700+ MHz. The method is then extended to posits and logarithmic numbers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。