arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2508.11451cs.ETcs.PL
收藏

CoMoNM:面向近内存计算系统的成本建模框架

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

Hamid Farzaneh, Asif Ali Khan, Jeronimo Castrillon

AI总结:

CoMoNM 是一个面向近内存计算系统的通用成本建模框架,通过硬件无关的高层表示和映射规格快速估计执行时间,可集成到现有编译器中改进卸载决策,并在保持低误差的同时将估计速度提升七个数量级。

摘要:

近内存计算(CNM)系统通过将计算单元更靠近数据,为缓解冯·诺依曼瓶颈提供了一种有前景的方法。然而,由于其独特的硬件和编程模型,针对这些架构进行优化仍然具有挑战性。现有的 CNM 编译器通常依赖程序员手动标注来进行卸载和优化。在 CPU/GPU 系统中常见的通过探索优化空间来自动化这些决策的方法,对于 CNM 来说十分困难,因为构建和遍历变换空间既繁琐又耗时。在系统级设计阶段尤其如此,因为评估需要耗时的仿真。为了解决这一问题,我们提出了 CoMoNM,一个面向 CNM 系统的通用成本建模框架,用于以毫秒级速度进行执行时间估计。它以高层次的、硬件无关的应用表示、目标系统规格说明以及映射规格说明作为输入,并估计给定应用在目标 CNM 系统上的执行时间。我们展示了 CoMoNM 如何能够无缝集成到最先进的 CNM 编译器中,从而提供改进的卸载决策。在已建立的 CNM 基准上的评估表明,与真实的 UPMEM CNM 系统和三星的 HBM-PIM 仿真器相比,估计误差分别在 7.80% 和 2.99% 以内。值得注意的是,与 UPMEM 和 HBM-PIM 仿真器相比,CoMoNM 提供估计结果的速度快了七个数量级。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑