arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2311.11384cs.AR
收藏

PIMSAB:一种具备空间感知通信与位串行感知计算的存内处理系统

PIMSAB: A Processing-In-Memory System with Spatially-Aware Communication and Bit-Serial-Aware Computation

Aman Arora, Jian Weng, Siyuan Ma, Tony Nowatzki, Lizy K. John

AI总结:

提出PIMSAB架构,通过空间感知通信网络和位串行感知计算优化存内处理,在深度学习任务中性能超越GPU 3倍,能耗降低4.2倍,并显著优于现有SRAM和DRAM PIM方案。

摘要:

位串行存内处理(PIM)对于加速器架构而言是一种极具吸引力的范式,适用于深度学习(DL)等并行工作负载。它能够以低面积开销实现海量数据并行,并通过将计算资源移近数据来提供数量级的数据移动节省。尽管已提出许多PIM架构,但在将中间结果通信给消费者内核、大规模下瓦片间通信、归约操作以及高效执行带常量的位串行操作方面,仍需改进。我们提出了PIMSAB,这是一种可扩展架构,提供空间感知通信网络以实现高效的瓦片内和瓦片间数据移动,并为通常低效的位串行计算模式提供高效计算支持。我们的架构由大规模分层阵列的计算使能SRAM(CRAM)组成,并与编译器协同设计以实现高利用率。该架构的关键创新在于:(1)通过提供用于归约的本地H树网络、添加用于打乱操作数的显式硬件以及部署脉动广播,为空间感知通信提供高效支持;(2)通过自适应精度、位切片和高效处理常量操作,利用位串行计算的可分性。与配置相似的现代Tensor Core GPU(NVIDIA A100)相比,在常见DL内核和端到端DL网络(Resnet18)上,PIMSAB的性能优于GPU 3倍,能耗降低4.2倍。我们将PIMSAB与配置相似的先进SRAM PIM(Duality Cache)和DRAM PIM(SIMDRAM)进行比较,分别观察到3.7倍和3.88倍的加速。

英文摘要:

Bit-serial Processing-In-Memory (PIM) is an attractive paradigm for accelerator architectures, for parallel workloads such as Deep Learning (DL), because of its capability to achieve massive data parallelism at a low area overhead and provide orders-of-magnitude data movement savings by moving computational resources closer to the data. While many PIM architectures have been proposed, improvements are needed in communicating intermediate results to consumer kernels, for communication between tiles at scale, for reduction operations, and for efficiently performing bit-serial operations with constants. We present PIMSAB, a scalable architecture that provides spatially aware communication network for efficient intra-tile and inter-tile data movement and provides efficient computation support for generally inefficient bit-serial compute patterns. Our architecture consists of a massive hierarchical array of compute-enabled SRAMs (CRAMs) and is codesigned with a compiler to achieve high utilization. The key novelties of our architecture are: (1) providing efficient support for spatially-aware communication by providing local H-tree network for reductions, by adding explicit hardware for shuffling operands, and by deploying systolic broadcasting, and (2) taking advantage of the divisible nature of bit-serial computations through adaptive precision, bit-slicing and efficient handling of constant operations. When compared against a similarly provisioned modern Tensor Core GPU (NVIDIA A100), across common DL kernels and an end-to-end DL network (Resnet18), PIMSAB outperforms the GPU by 3x, and reduces energy by 4.2x. We compare PIMSAB with similarly provisioned state-of-the-art SRAM PIM (Duality Cache) and DRAM PIM (SIMDRAM) and observe a speedup of 3.7x and 3.88x respectively.

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

↑