SimplePIM: A Software Framework for Productive and Efficient Processing-in-Memory

被引:1
|
作者
Chen, Jinfan [1 ]
Gomez-Luna, Juan [1 ]
El Hajj, Izzat [2 ]
Guo, Yuxin [1 ]
Mutlu, Onur [1 ]
机构
[1] Swiss Fed Inst Technol, Zurich, Switzerland
[2] Amer Univ Beirut, Beirut, Lebanon
关键词
D O I
10.1109/PACT58117.2023.00017
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Data movement between memory and processors is a major bottleneck in modern computing systems. The processing-in-memory (PIM) paradigm aims to alleviate this bottleneck by performing computation inside memory chips. Real PIM hardware (e.g., the UPMEM system) is now available and has demonstrated potential in many applications. However, programming such real PIM hardware remains a challenge for many programmers. This paper presents a new software framework, SimplePIM, to aid programming real PIM systems. The framework processes arrays of arbitrary elements on a PIM device by calling iterator functions from the host and provides primitives for communication among PIM cores and between PIM and the host system. We implement SimplePIM for the UPMEM PIM system and evaluate it on six major applications. Our results show that SimplePIM enables 66.5% to 83.1% reduction in lines of code in PIM programs. The resulting code leads to higher performance (between 10% and 37% speedup) than hand-optimized code in three applications and provides comparable performance in three others. SimplePIM is fully and freely available at https://github.com/CMU- SAFARI/SimplePIM.
引用
下载
收藏
页码:99 / 111
页数:13
相关论文
共 50 条
  • [1] A Design Framework for Processing-In-Memory Accelerator
    Gao, Di
    Shen, Tianhao
    Zhuo, Cheng
    2018 ACM/IEEE INTERNATIONAL WORKSHOP ON SYSTEM LEVEL INTERCONNECT PREDICTION (SLIP), 2018,
  • [2] An Energy-Efficient Quantized and Regularized Training Framework For Processing-In-Memory Accelerators
    Sun, Hanbo
    Zhu, Zhenhua
    Cai, Yi
    Chen, Xiaoming
    Wang, Yu
    Yang, Huazhong
    2020 25TH ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE, ASP-DAC 2020, 2020, : 325 - 330
  • [3] Gibbon: An Efficient Co-Exploration Framework of NN Model and Processing-In-Memory Architecture
    Sun, Hanbo
    Zhu, Zhenhua
    Wang, Chenyu
    Ning, Xuefei
    Dai, Guohao
    Yang, Huazhong
    Wang, Yu
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2023, 42 (11) : 4075 - 4089
  • [4] TransPimLib: Efficient Transcendental Functions for Processing-in-Memory Systems
    Item, Maurus
    Gomez-Luna, Juan
    Guo, Yuxin
    Oliveira, Geraldo F.
    Sadrosadati, Mohammad
    Mutlu, Onur
    2023 IEEE INTERNATIONAL SYMPOSIUM ON PERFORMANCE ANALYSIS OF SYSTEMS AND SOFTWARE, ISPASS, 2023, : 235 - 247
  • [5] Extending the ONNX Runtime Framework for the Processing-in-Memory Execution
    Kim, Seok Young
    Lee, Jaewook
    Kim, Chang Hyun
    Lee, Won Jun
    Kim, Seon Wook
    2022 INTERNATIONAL CONFERENCE ON ELECTRONICS, INFORMATION, AND COMMUNICATION (ICEIC), 2022,
  • [6] LazyPIM: An Efficient Cache Coherence Mechanism for Processing-in-Memory
    Boroumand, Amirali
    Ghose, Saugata
    Patel, Minesh
    Hassan, Hasan
    Lucia, Brandon
    Hsieh, Kevin
    Malladi, Krishna T.
    Zheng, Hongzhong
    Mutlu, Onur
    IEEE COMPUTER ARCHITECTURE LETTERS, 2017, 16 (01) : 46 - 50
  • [7] Towards Memory-Efficient Allocation of CNNs on Processing-in-Memory Architecture
    Wang, Yi
    Chen, Weixuan
    Yang, Jing
    Li, Tao
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2018, 29 (06) : 1428 - 1441
  • [8] Exploring IoT Platform with Technologically Agnostic Processing-in-Memory Framework
    Santos, Paulo Cesar
    de Lima, Joao Paulo C.
    de Moura, Rafael F.
    Ahmed, Hameeza
    Alves, Marco A. Z.
    Beck, Antonio C. S.
    Carro, Luigi
    WORKSHOP PROCEEDINGS 2018: INTELLIGENT EMBEDDED SYSTEMS ARCHITECTURES AND APPLICATIONS (INTESA), 2018, : 1 - 6
  • [9] LooPIM: A Loop-Oriented Acceleration Framework for Processing-in-Memory
    Liu, Chuangshi
    Li, Xianfeng
    Journal of Physics: Conference Series, 2021, 1914 (01):
  • [10] Towards Memory-Efficient Processing-in-Memory Architecture for Convolutional Neural Networks
    Wang, Yi
    Zhang, Mingxu
    Yang, Jing
    ACM SIGPLAN NOTICES, 2017, 52 (05) : 81 - 90