Published December 27, 2023 | Version v1

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

  • 1. ROR icon ETH Zurich
  • 2. ROR icon American University of Beirut

Description

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. 

Files

2310.01893V1.pdf

Files (876.2 kB)

Name Size
md5:a0a3ad7423c9412cdf82ca92ff2ad935
876.2 kB Preview Download

Additional details

Funding

European Commission
BioPIM - Processing-in-memory architectures and programming libraries for bioinformatics algorithms 101047160