Yonsei

Yonsei MLSys Student Group

Automating and Optimizing Tensor Computation for Processing-in-Memory: From Autotuning to ILP-Based Mapping

Hyeoncheol Kim - ASO Lab, CS, Yonsei University

Processing-in-Memory (PIM) architectures offer a compelling approach to addressing the memory wall by enabling computation directly within memory units, thereby minimizing data movement. However, extracting meaningful performance gains from such architectures requires sophisticated software support capable of managing the tight coupling between data layout, computation scheduling, and hardware constraints. This presentation explores two complementary system-level approaches designed to enhance the programmability and efficiency of PIM architectures. The first approach introduces a tensor compiler that integrates autotuning into the code generation pipeline for DRAM-based PIM systems. By jointly exploring optimization spaces across host and kernel levels, and applying PIM-aware transformations, this compiler automates the generation of efficient tensor programs. The second approach formulates the tensor mapping problem for PIM as an integer linear programming (ILP) model. Leveraging a layout-aware representation and accurate cost modeling, this method produces optimized mappings that respect the unique data placement and execution constraints of various PIM architectures. Implemented within a modern compiler infrastructure, the framework supports end-to-end mapping from high-level deep learning workloads. Together, these systems demonstrate how compiler-based autotuning and formal optimization techniques can significantly advance the usability and performance of PIM system.

PPT CV

Catering Courtesy of MICV Lab