Computing-in-memory (CIM) architectures demonstrate superior performance over traditional architectures. To unleash the potential of CIM accelerators, many compilation methods have been proposed, focusing on application scheduling optimization specific to CIM. However, existing compilation methods often overlook CIM's capability to switch dynamically between compute and memory modes, which is crucial for accommodating the diverse memory and computational needs of real-world deep neural network architectures, especially the emerging large language models. To fill this gap, we introduce CMSwitch, a novel compiler to optimize resource allocation for CIM accelerators with adaptive mode-switching capabilities, thereby enhancing the performance of DNN applications. Specifically, our approach integrates the compute-memory mode switch into the CIM compilation optimization space by introducing a new hardware abstraction attribute. Then, we propose a novel compilation optimization pass that identifies the optimal network segment and the corresponding mode resource allocations using dynamic programming and mixed-integer programming. CMSwitch uses the tailored meta-operator to express the compilation result in a generalized manner. Evaluation results demonstrate that CMSwitch achieves an average speedup of 1.31$\times$ compared to existing SOTA CIM compilation works, highlighting CMSwitch's effectiveness in fully exploiting the potential of CIM processors for a wide range of real-world DNN applications.
OpenACM: An Open-Source SRAM-Based Approximate CiM Compiler
Nanjing University of Science and Technology(南京理工大学);Beihang University(北京航空航天大学);University of Sheffield(谢菲尔德大学);The 58th Research Institute of China Electronics Technology Group Corporation(中国电子科技集团公司第五十八研究所)
AccelCIM: Systematic Dataflow Exploration for SRAM Compute-in-Memory Accelerator
School of Integrated Circuits, Peking University(北京大学集成电路学院);School of Electronics Engineering and Computer Science, Peking University(北京大学电子工程与计算机科学学院);School of Integrated Circuits, Southeast University(东南大学集成电路学院);School of Integrated Circuits, Anhui Polytechnic University(安徽工业大学集成电路学院)
CIMFlow: An Integrated Framework for Systematic Design and Evaluation of Digital CIM Architectures
School of Computer Science and Engineering, Beihang University(计算机科学与工程学院,北京航空航天大学);School of Integrated Circuit Science and Engineering, Beihang University(集成电路科学与工程学院,北京航空航天大学);Qingdao Research Institute, Beihang University(青岛研究院,北京航空航天大学)
MIREDO: MIP-Driven Resource-Efficient Dataflow Optimization for Computing-in-Memory Accelerator
School of Computer Science and Engineering, Beihang University(北京航空航天大学计算机科学与工程学院);School of Integrated Circuit Science and Engineering, Beihang University(北京航空航天大学集成电路科学与工程学院);Qingdao Research Institute, Beihang University(北京航空航天大学青岛研究院)
CIM-MLC: A Multi-level Compilation Stack for Computing-In-Memory Accelerators
Institute of Computing Technology, CAS(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Capital Normal University(首都师范大学);State Key Lab of Processors, Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所处理器国家重点实验室)
Towards Efficient Hyperdimensional Computing Using Photonics
Boston University(波士顿大学);University of California, Irvine(加利福尼亚大学欧文分校);Georgia Institute of Technology(佐治亚理工学院);SRI International(SRI国际);Lightmatter(莱特马特公司)
CAFE: Conducting-Cell-Aware Adaptive Differential Encoding for Robust DNN Inference in FeFET-Based Compute-in-Memory
School of Integrated Circuits, Peking University(北京大学集成电路学院);Department of Electrical and Computer Engineering, The University of Hong Kong(香港大学电气及电子工程学系);Beijing Advanced Innovation Center for Integrated Circuits(北京集成电路先进创新中心)
Optimizing Tensor Train Decomposition in DNNs for RISC-V Architectures Using Design Space Exploration and Compiler Optimizations
School of Informatics, Aristotle University of Thessaloniki(阿尔基托斯大学信息学院);School of Engineering, Computing and Mathematics, University of Plymouth(普利茅斯大学工程、计算与数学学院);School of Informatics, Reutlingen University(鲁特林根大学信息学院)
Full-Stack Optimization for CAM-Only DNN Inference
Technische Universität Dresden(德累斯顿工业大学);Center for Scalable Data Analytics and Artificial Intelligence (ScaDS.AI)(可扩展数据分析与人工智能中心(ScaDS.AI));Federal University of Rio Grande do Sul(南里奥格兰德联邦大学)
You Only Charge Once 2.0 : A End-to-End Analog Computing-in-Memory Architecture with Reconfigurable Switched Capacitors
The Hong Kong University of Science and Technology(香港科技大学);AI Chip Center for Emerging Smart Systems (ACCESS), InnoHK, Hong Kong(香港创新署新兴智能系统芯片中心);Huazhong University of Science and Technology(华中科技大学);Shenzhen University of Advanced Technology(深圳先进技术研究院)
SafeCiM: Investigating Resilience of Hybrid Floating-Point Compute-in-Memory Deep Learning Accelerators
Department of Electrical and Computer Engineering, University of Texas at Dallas(得克萨斯大学达拉斯分校电气与计算机工程系);Advanced Architecture Research Group at Intel Corporation(英特尔公司先进架构研究组);Department of Electrical, Computer and Systems Engineering, Rensselaer Polytechnic Institute(拉特格斯理工学院电气、计算机与系统工程系)
Dynamic neural network with memristive CIM and CAM for 2D and 3D vision
the University of Hong Kong(香港大学);ACCESS – AI Chip Center for Emerging Smart Systems, InnoHK Centers(ACCESS——新兴智能系统AI芯片中心(InnoHK中心));Institute of the Mind, the University of Hong Kong(香港大学心智研究所);Institute of Microelectronics, Chinese Academy of Sciences(中国科学院微电子研究所);University of Chinese Academy of Sciences(中国科学院大学)