Litcius/Paper detail

A Low-Cost Floating-Point Dot-Product-Dual-Accumulate Architecture for HPC-Enabled AI

Hongbing Tan, Libo Huang, Zhong Zheng, Hui Guo, Qianmin Yang, Li Shen, Gang Chen, Liquan Xiao, Nong Xiao

2023IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems10 citationsDOI

Abstract

The dot-product <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$\sum _{i=1}^{N} A_{i}\times B_{i}$ </tex-math></inline-formula> is one of the most frequently used operations for a wide variety of high-performance computing (HPC) and artificial intelligence (AI) applications. However, for large-scale algorithms, such as acrshort GEMM and acrshort FFT, independent additions are necessary to accumulate the results of length-limited dot-product in order to form the final result, thus increasing latency and overhead. Hence, we proposed a dot-product-dual-accumulate (DPDAC) architecture capable of performing <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$\left({\sum _{i=1}^{N=1,2,4} A_{i}\times B_{i} + \sum _{j=1}^{M=1,2} C_{j}}\right)$ </tex-math></inline-formula> on a wide range of formats. The proposed architecture supports both single-path and dual-path execution. The single path is designed for performing acrshort DP acrshort FMA or DPDAC of lower formats, while dual-path supports parallel operations for single-precision (SP) addition and 2-term SP or acrshort TF32 dot-product or 4-term acrshort HP or BF16 dot-product. Moreover, numerical precision conversion is also supported by the proposed architecture, allowing for the conversion of numbers to higher or lower formats. The proposed DPDAC has been demonstrated to significantly reduce the overhead in comparison to discrete designs that utilize multiple single-mode acrshort FP units to achieve the same functionalities. Furthermore, when compared to the state-of-the-art multiple-precision designs, the proposed architecture has been shown to support a wide range of formats and a greater variety of operations with lower costs.

Topics & Concepts

Dot productComputer scienceOverhead (engineering)Parallel computingProduct (mathematics)ArchitecturePath (computing)Dual (grammatical number)Computer hardwareMathematicsOperating systemGeometryArtVisual artsLiteratureParallel Computing and Optimization TechniquesAdvanced Data Storage TechnologiesNumerical Methods and Algorithms
A Low-Cost Floating-Point Dot-Product-Dual-Accumulate Architecture for HPC-Enabled AI | Litcius