arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.10136cs.ARcs.ET
收藏

Count2Multiply:可靠的内存内高基数计数

Count2Multiply: Reliable In-Memory High-Radix Counting

João Paulo Cardoso de Lima, Benjamin Franklin Morris, Asif Ali Khan, Jeronimo Castrillon, Alex K. Jones

AI总结:

本文提出Count2Multiply,一种基于内存内高基数计数和纠错码的可靠数字CIM方法,实现乘法等操作,相比现有DRAM CIM方法显著提升速度、能效和面积效率。

摘要:

计算内存(CIM)已在各种内存技术中得到展示,从执行模拟点积计算的忆阻器交叉阵列,到商用DRAM和其他提出的非易失性内存技术中的大规模数字位运算。然而,当前的CIM解决方案面临延迟和可靠性挑战。CIM的保真度远低于访问保真度。此外,批量位运算CIM虽然高度并行化,但由于其位串行计算,在乘法和加法等操作上需要较长的延迟。本文提出了Count2Multiply,一种与技术无关的数字CIM方法,利用CIM批量位运算逻辑实现的高基数、大规模并行计数来执行乘法、加法和其他操作。为满足容错要求,Count2Multiply集成了传统的行式纠错码(如汉明码和BCH码),以解决现有CIM设计中的高错误率问题。我们通过一个详细的应用程序演示了Count2Multiply在传统DRAM中的CIM应用,因为其普遍性和高耐久性。然而,我们注意到Count2Multiply架构与其他功能完整的CIM方案兼容。与最先进的内存内DRAM CIM方法相比,Count2Multiply实现了高达10倍的加速、8倍更高的GOPS/瓦特和9.5倍更高的GOPS/面积,同时在向量-矩阵乘法方面优于GPU。

英文摘要:

Computing-in-memory (CIM) has been demonstrated across various memory technologies, ranging from memristive crossbars performing analog dot-product computations to large-scale digital bitwise operations in commodity DRAM and other proposed non-volative memory technologies. However, current CIM solutions face latency and reliability challenges. CIM fidelity lags considerably behind access fidelity. Furthermore, bulk-bitwise CIM, although highly parallelized, requires long latency for operations like multiplication and addition, due to their bit-serial computation. This paper presents Count2Multiply, a technology-agnostic digital CIM approach to perform multiplication, addition and other operations using high-radix, massively parallel counting enabled by CIM bulk-bitwise logic operations. Designed to meet fault tolerance requirements, Count2Multiply integrates traditional row-wise error correction codes, such as Hamming and BCH, to address the high error rates in existing CIM designs. We demonstrate Count2Multiply with a detailed application to CIM in conventional DRAM due to its ubiquity and high endurance. However, we note that the Count2Multiply architecture is compatible with other functionally complete CIM proposals. Compared to the state-of-the-art in-DRAM CIM method, Count2Multiply achieves up to 10x speedup, 8x higher GOPS/Watt, and 9.5x higher GOPS/area, while outperforming GPU for vector-matrix multiplications.

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

↑