C4CAM: A Compiler for CAM-based In-memory Accelerators
Hamid Farzaneh, Jo\~ao Paulo Cardoso de Lima, Mengyuan Li, Asif Ali, Khan, Xiaobo Sharon Hu, Jeronimo Castrillon

TL;DR
C4CAM is a novel compiler framework that automates the generation of code for CAM-based in-memory accelerators from high-level TorchScript, enabling efficient exploration of configurations and performance-energy trade-offs.
Contribution
It introduces the first compiler framework for CAM-based accelerators, facilitating high-level programming and configuration exploration for in-memory computing systems.
Findings
Enables rapid exploration of CAM configurations.
Analyzes performance and energy impacts of different CAM technologies.
Supports high-level programming for CAM-based accelerators.
Abstract
Machine learning and data analytics applications increasingly suffer from the high latency and energy consumption of conventional von Neumann architectures. Recently, several in-memory and near-memory systems have been proposed to remove this von Neumann bottleneck. Platforms based on content-addressable memories (CAMs) are particularly interesting due to their efficient support for the search-based operations that form the foundation for many applications, including K-nearest neighbors (KNN), high-dimensional computing (HDC), recommender systems, and one-shot learning among others. Today, these platforms are designed by hand and can only be programmed with low-level code, accessible only to hardware experts. In this paper, we introduce C4CAM, the first compiler framework to quickly explore CAM configurations and to seamlessly generate code from high-level TorchScript code. C4CAM…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Memory and Neural Computing · Ferroelectric and Negative Capacitance Devices · Caching and Content Delivery
