MACO:在松耦合多核处理器上探索 GEMM 加速
MACO: Exploring GEMM Acceleration on a Loosely-Coupled Multi-core Processor
AI总结:
本文提出松耦合多核架构 MACO,通过基于 tile 的指令集、硬件辅助预取与锁定及预测性地址转换,在 GEMM 和深度神经网络负载上实现高可扩展性与最高 1.1 TFLOPS、88% 的计算效率。
摘要:
由于通用矩阵-矩阵乘法(GEMM)内核的广泛使用,通用处理器供应商已在其产品中集成了定制加速器。然而,进一步提高这些 GEMM 增强型处理器的灵活性和可扩展性,以应对新兴的大规模 GEMM 工作负载,仍然是一个挑战。在本文中,我们提出了 MACO,一种针对 GEMM 相关应用优化的新型松耦合多核通用架构。为了增强 MACO 的可编程性和灵活性,本文引入了一种基于 tile 的指令集架构。此外,本文还提出了硬件辅助数据预取与锁定、预测性地址转换等技术,以进一步提高 MACO 在 GEMM 工作负载上的计算效率。实验结果表明,MACO 表现出良好的可扩展性,在多个核心上实现了平均 90% 的计算效率。此外,对最先进深度神经网络的评估表明,MACO 可实现高达 1.1 TFLOPS 的性能,计算效率达到 88%,表明其对深度学习工作负载具有良好的适应性。
英文摘要:
General-purpose processor vendors have integrated customized accelerator in their products due to the widespread use of General Matrix-Matrix Multiplication (GEMM) kernels. However, it remains a challenge to further improve the flexibilityand scalability of these GEMM-enhanced processors to cater to the emerging large-scale GEMM workloads. In this paper we propose MACO, a novel loosely-coupled multi-core general-purpose architecture optimized for GEMM-related applications. To enhance the programmability and flexibility of MACO, the paper introduces a tile-based instruction set architecture. Additionally, the paper presents techniques such as hardware-assisted data prefetching and locking, and predictive address translation to further enhance the computational efficiency of MACO for GEMM workloads. The experimental results demonstrate that MACO exhibits good scalability, achieving an average computational efficiency of 90% across multiple cores. Furthermore, evaluations on state-of-the-art deep neural networks show that MACO can achieve up to 1.1 TFLOPS with 88% computational efficiency, indicating its adaptivity to deep learning workloads.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。