跳到正文
arXiv (Robotics + Hardware + Signal)· Tianrui Zheng, Jo\~ao Paulo Cardoso de Lima, Alexander Kusnezoff, Asif Ali Khan, Jeronimo Castrillon·· 1 天前AI 评分22

Pudding:面向Processing-Using-DRAM架构的可重定向编译器

Pudding: A Retargetable Compiler for Processing-Using-DRAM Systems

AI 导读

Pudding是一个基于MLIR的可重定向端到端编译框架,将架构描述作为编译管线的一等对象,重定向到新PUD架构只需提供其描述。编译器在张量级通过位切片、混合精度分配和基于ILP的布局减少PUD命令与bank间数据移动,在逻辑级用等价饱和探索布尔网络实现。在多个PUD目标上,同一套编译pass达到甚至超过架构专用手工优化编译器的效果。

正文 · 原文

arXiv:2611.30446v1 Announce Type: new Abstract: Processing-Using-DRAM (PUD) architectures exploit the physics of DRAM arrays to perform Boolean operations directly in memory, eliminating the data movement bottleneck in memory-intensive workloads. Several PUD architectures have been recently proposed which differ in their primitive operation sets, row allocation models, and execution metrics. These architectural differences are today hard-coded in emerging PUD-aware compilers, making crossarchitecture reuse impossible. We present a retargetable, end-to-end compilation framework for PUD architectures. The central idea is to make the architecture description a first-class object in the compilation pipeline: retargeting to a new PUD architecture only requires supplying its description. Built upon the MLIR framework, our compiler operates at two coupled levels. At the tensor level, it lowers high-level programs through bit-slicing, mixed-precision assignment, and integer-linear-programming (ILP) based placement to reduce the number of PUD commands and inter-bank data movement. At the logic level, it employs equality saturation to explore Boolean network implementations, with rewrite rules and cost functions derived directly from the architecture description. Evaluated on representative workloads across multiple PUD targets with the same compiler passes, our framework matches (and in several cases surpasses) architecture-specific hand-optimized compilers, while delivering retargetability and extensibility.

来源:arXiv (Robotics + Hardware + Signal) · arxiv.org