CUTEv2: Unified and Configurable Matrix Extension for Diverse CPU Architectures with Minimal Design Overhead
State Key Lab of Processors, Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所处理器国家重点实验室);University of Chinese Academy of Sciences(中国科学院大学)
Jinpeng Ye, Chongxi Wang, Wenqing Li, Bin Yuan, Shiyi Wang, Fenglu Zhang, Junyu Yue, Jianan Xie, Yunhao Ye, Haoyu Deng, Yingkun Zhou, Xin Cheng, Fuxin Zhang, Jian Wang
Matrix extensions have emerged as an essential feature in modern CPUs to address the surging demands of AI workloads. However, existing designs often incur substantial hardware and software design overhead. Tight coupling with the CPU pipeline complicates integration across diverse CPUs, while fine-grained synchronous instructions hinder the development of high-performance kernels.
This paper proposes a unified and configurable CPU matrix extension architecture. By decoupling matrix units from the CPU pipeline, the design enables low-overhead integration while maintaining close coordination with existing compute and memory resources. The configurable matrix unit supports mixed-precision operations and adapts to diverse compute demands and memory bandwidth constraints. An asynchronous matrix multiplication abstraction with flexible granularity conceals hardware details, simplifies matrix-vector overlap, and supports a unified software stack.
The architecture is integrated into four open-source CPU RTL platforms and evaluated on representative AI models. Matrix unit utilization under GEMM workloads exceeds 90% across all platforms. When configured with compute throughput and memory bandwidth comparable to Intel AMX, our design achieves speedups of 1.57x, 1.57x, and 2.31x on ResNet, BERT, and Llama3, with over 30% of the gains attributed to overlapped matrix-vector execution. A 4 TOPS@2GHz matrix unit occupies only 0.53 mm\textsuperscript{2} in 14nm CMOS. These results demonstrate strong cross-platform adaptability and effective hardware-software co-optimization, offering a practical matrix extension for the open-source community.
HYDRA: Hybrid Data Multiplexing and Run-time Layer Configurable DNN Accelerator
Centre for Advanced Electronics, IIT Indore(印度理工学院印多尔分校先进电子中心);Center for Development of Advanced Computing, Bengaluru(班加罗尔高级计算发展中心);NSDCS Research Group, Department of Electrical Engineering, IIT Indore(印度理工学院印多尔分校电气工程系NSDCS研究组)
Design space exploration tools for the ByoRISC configurable processor family
本文介绍了ByoRISC(Build Your Own RISC)可配置专用指令集处理器(ASIP)系列。ByoRISC作为独立于供应商的核心,在基线处理器上提供了广泛的架构参数,这些参数可以通过特定于应用程序的硬件扩展(ASHE)进行定制。这样的扩展实现了多输入多输出(MIMO)定制指令与本地状态和加载/存储访问数据存储器。ByoRISC集成了真正的多端口寄存器文件、零开销自定义指令解码和可扩展的数据转发机制。考虑到这些设计决策,ByoRISC提供了独特的功能组合,允许它们用作架构测试平台,并无缝快速开发新的高性能ASIC。ByoRISC的性能特点,实现为供应商无关的核心,已被评估为ASIC和FPGA实现,它被证明是一个可行的解决方案,在基于FPGA的片上系统设计。一个图像处理管道的案例研究也提出了突出的过程中,利用ByoRISC定制处理器。可以观察到高达8.5 $\times$的峰值性能加速比,而在Xilinx Virtex-4目标上实现了4.4 $\times$的平均性能加速比。此外,ByoRISC在许多数据密集型应用程序内核的16宽配置中也优于名为VEX的实验性VLIW架构。