English

CoMoNM: A Cost Modeling Framework for Compute-Near-Memory Systems

Emerging Technologies 2025-08-18 v1 Programming Languages

Abstract

Compute-Near-Memory (CNM) systems offer a promising approach to mitigate the von Neumann bottleneck by bringing computational units closer to data. However, optimizing for these architectures remains challenging due to their unique hardware and programming models. Existing CNM compilers often rely on manual programmer annotations for offloading and optimizations. Automating these decisions by exploring the optimization space, common in CPU/GPU systems, is difficult for CNMs as constructing and navigating the transformation space is tedious and time consuming. This is particularly the case during system-level design, where evaluation requires time-consuming simulations. To address this, we present CoMoNM, a generic cost modeling framework for CNM systems for execution time estimation in milliseconds. It takes a high-level, hardware-agnostic application representation, target system specifications, and a mapping specification as input and estimates the execution time for the given application on the target CNM system. We show how CoMoNM can be seamlessly integrated into state-of-the-art CNM compilers, providing improved offloading decisions. Evaluation on established benchmarks for CNM shows estimation errors within 7.80% and 2.99%, when compared to the real UPMEM CNM system and Samsung's HBM-PIM simulator. Notably, CoMoNM delivers estimates seven orders of magnitude faster compared to the UPMEM and HBM-PIM simulators.

Keywords

Cite

@article{arxiv.2508.11451,
  title  = {CoMoNM: A Cost Modeling Framework for Compute-Near-Memory Systems},
  author = {Hamid Farzaneh and Asif Ali Khan and Jeronimo Castrillon},
  journal= {arXiv preprint arXiv:2508.11451},
  year   = {2025}
}

Comments

12 pages, 16 Figures

R2 v1 2026-07-01T04:51:51.113Z