Pudding: A Retargetable Compiler for Processing-Using-DRAM Systems
Tianrui Zheng, João Paulo Cardoso de Lima, Alexander Kusnezoff, Asif Ali Khan, Jeronimo Castrillon
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.
Create a lesson
Metadata
- Categories
- cs.AR, cs.ET
- Comments
- 14 pages, 12 figures
Related papers
WADJET: Whole-Job Authorization and Dispatch for Job Execution Trust on FPGA System-on-Chip Accelerators
Shared title terminologycs.ARMohamed El-Hadedy
On the Design of a Slow Control Interlock System for the European GateMate FPGA
Shared title terminologycs.ARVitalii Burtsev, Daniele Passaretti, Daniel Anders et al.
Scalable fault vulnerability analysis for ReRAM-based process-in-memory CNN accelerators
Shared title terminologycs.ARAniseh Dorostkar, Hamed Farbeh, Hamid R. Zarandi et al.
Mitigating Row Buffer Contention Through Multiple Row Buffer (MRB) DRAM
Shared title terminologycs.ARK Chitra, Arjun Dey, Aryabartta Sahu et al.
ReLay: Bidirectional Layout-Code Translation and Library Evolution for Reusable and Process-Portable Analog Design
Shared title terminologycs.ARMinxing Chu, Quan Cheng, Anhang Li et al.
DiffusionSSD: Achieving Extreme Visual Compression with Dual-stage Diffusion and Cross-level Near-Data Processing
Shared title terminologycs.ARKuai Yu, Wen Li, Shengwen Liang et al.