Lune

HPCA2023顶会

CHOPPER: A Compiler Infrastructure for Programmable Bit-serial SIMD Processing Using Memory in DRAM

Xiangjun Peng, Yaohua Wang, Ming-Chang Yang

摘要

Increasing interests in Bit-serial SIMD Processing-Using-DRAM (PUD) architectures amplify the needs for a compiler to automate code generation, credited to their ultra-wide SIMD width and reduction of data movements. The state-of-the-art Bit-serial SIMD PUD architectures (1) only provide assembly SIMD programming interfaces, which heavily saddles with programmers to exploit the ultra-wide SIMD width on these architectures; and (2) encapsulate 1-bit operations into multi-bit abstractions, which incurs a granularity mismatch and restricts the optimization space to minimize data movements.We present CHOPPER, a new compiler infrastructure to make Bit-serial SIMD PUD more programmable and efficient. For the better programmability, the design of CHOPPER (1) exploits bit-slicing compilers to enable automatic memory allocation and code generation, from naturally-expressive codes (i.e. similar to Parallel Haskell) into the "SIMD-Within-A-Register"-style codes; and (2) introduces a new abstraction called "Virtual Code Emitter", to make Bit-serial SIMD PUD architecture exploit Memory-Level Parallelism (i.e. Bank or Subarray) more effectively. For the better efficiency, we propose three novel optimizations for CHOPPER to better exploit the potentials of Bit-serial SIMD PUD architectures, which (1) minimize the amount of intra-subarray data movements; and (2) mitigate the overheads of spilling data outside Bit-serial SIMD PUD architectures. These optimizations can greatly improve the overall efficiency of Bit-serial SIMD PUD architectures. We also discuss (1) the limitations of the current CHOPPER; and (2) the potentials of CHOPPER for other types of Processing-In-Memory architectures.We evaluate CHOPPER by hosting it on three state-of-the-art Bit-serial SIMD PUD architectures. We compare CHOPPER-generated codes against the state-of-the-art hands-tuned codes for Bit-serial SIMD PUD architectures. We highlight that, averaged across 16 real-world workloads from 4 PUD-friendly application domains, CHOPPER achieves (A) 1.20X, 1.29X and 1.26X speedup when data can fit within DRAM subarrays; and (B) 12.61X, 9.05X and 9.81X speedup when data need to spill to the secondary storage, on Ambit [50], ELP2IM [56] and SIMDRAM [22], compared with hands-tuned codes using the state-of-the-art methodology [22] for Bit-serial SIMD PUD architectures. These performance benefits also accompany with a great reduction of Lines-of-Codes (LoC) in CHOPPER (i.e. by 4.3X less LoCs for hands-tuning a single subarray, and >103X less for hands-tuning all subarrays in a rank). We also perform breakdown and sensitivity studies of CHOPPER, to better understand its source benefits and examine its robustness under various architectural features.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • CINM (Cinnamon): A Compilation Infrastructure for Heterogeneous Compute In-Memory and Compute Near-Memory Paradigms 引用了 Infinity Stream: Portable and Programmer-Friendly In-/Near-Memory Fusion
  • BitNN: A Bit-Serial Accelerator for K-Nearest Neighbor Search in Point Clouds 引用了 ELP2IM: Efficient and Low Power Bitwise Operation Processing in DRAM
  • BitNN: A Bit-Serial Accelerator for K-Nearest Neighbor Search in Point Clouds 引用了 SIMDRAM: a framework for bit-serial SIMD processing using DRAM
  • Infinity Stream: Portable and Programmer-Friendly In-/Near-Memory Fusion 引用了 SISA: Set-Centric Instruction Set Architecture for Graph Mining on Processing-in-Memory Systems
  • Infinity Stream: Portable and Programmer-Friendly In-/Near-Memory Fusion 引用了 SIMDRAM: a framework for bit-serial SIMD processing using DRAM
  • pLUTo: Enabling Massively Parallel Computation in DRAM via Lookup Tables 引用了 ELP2IM: Efficient and Low Power Bitwise Operation Processing in DRAM
  • pLUTo: Enabling Massively Parallel Computation in DRAM via Lookup Tables 引用了 SISA: Set-Centric Instruction Set Architecture for Graph Mining on Processing-in-Memory Systems
  • pLUTo: Enabling Massively Parallel Computation in DRAM via Lookup Tables 引用了 SIMDRAM: a framework for bit-serial SIMD processing using DRAM
  • MIMDRAM: An End-to-End Processing-Using-DRAM System for High-Throughput, Energy-Efficient and Programmer-Transparent Multiple-Instruction Multiple-Data Computing 引用了 ELP2IM: Efficient and Low Power Bitwise Operation Processing in DRAM
  • MIMDRAM: An End-to-End Processing-Using-DRAM System for High-Throughput, Energy-Efficient and Programmer-Transparent Multiple-Instruction Multiple-Data Computing 引用了 FIGARO: Improving System Performance via Fine-Grained In-DRAM Data Relocation and Caching
  • MIMDRAM: An End-to-End Processing-Using-DRAM System for High-Throughput, Energy-Efficient and Programmer-Transparent Multiple-Instruction Multiple-Data Computing 引用了 Infinity Stream: Portable and Programmer-Friendly In-/Near-Memory Fusion
  • MIMDRAM: An End-to-End Processing-Using-DRAM System for High-Throughput, Energy-Efficient and Programmer-Transparent Multiple-Instruction Multiple-Data Computing 引用了 pLUTo: Enabling Massively Parallel Computation in DRAM via Lookup Tables
  • MIMDRAM: An End-to-End Processing-Using-DRAM System for High-Throughput, Energy-Efficient and Programmer-Transparent Multiple-Instruction Multiple-Data Computing 引用了 SISA: Set-Centric Instruction Set Architecture for Graph Mining on Processing-in-Memory Systems
  • MIMDRAM: An End-to-End Processing-Using-DRAM System for High-Throughput, Energy-Efficient and Programmer-Transparent Multiple-Instruction Multiple-Data Computing 引用了 SIMDRAM: a framework for bit-serial SIMD processing using DRAM
  • SISA: Set-Centric Instruction Set Architecture for Graph Mining on Processing-in-Memory Systems 引用了 ELP2IM: Efficient and Low Power Bitwise Operation Processing in DRAM
  • SISA: Set-Centric Instruction Set Architecture for Graph Mining on Processing-in-Memory Systems 引用了 SIMDRAM: a framework for bit-serial SIMD processing using DRAM
  • SIMDRAM: a framework for bit-serial SIMD processing using DRAM 引用了 ELP2IM: Efficient and Low Power Bitwise Operation Processing in DRAM
  • SIMDRAM: a framework for bit-serial SIMD processing using DRAM 引用了 FIGARO: Improving System Performance via Fine-Grained In-DRAM Data Relocation and Caching
  • Conduit: Programmer-Transparent Near-Data Processing Using Multiple Compute-Capable Resources in Solid State Drives 引用了 ELP2IM: Efficient and Low Power Bitwise Operation Processing in DRAM
  • Conduit: Programmer-Transparent Near-Data Processing Using Multiple Compute-Capable Resources in Solid State Drives 引用了 MIMDRAM: An End-to-End Processing-Using-DRAM System for High-Throughput, Energy-Efficient and Programmer-Transparent Multiple-Instruction Multiple-Data Computing
  • Conduit: Programmer-Transparent Near-Data Processing Using Multiple Compute-Capable Resources in Solid State Drives 引用了 SISA: Set-Centric Instruction Set Architecture for Graph Mining on Processing-in-Memory Systems
  • Conduit: Programmer-Transparent Near-Data Processing Using Multiple Compute-Capable Resources in Solid State Drives 引用了 SIMDRAM: a framework for bit-serial SIMD processing using DRAM
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. MIMDRAM: An End-to-End Processing-Using-DRAM System for High-Throughput, Energy-Efficient and Programmer-Transparent Multiple-Instruction Multiple-Data ComputingGeraldo F. Oliveira, Ataberk Olgun, Abdullah Giray Yaglikçi, F. Nisa Bostanci 等HPCA 2024 · 44 次引用
  2. Infinity Stream: Portable and Programmer-Friendly In-/Near-Memory FusionZhengrong Wang, Christopher Liu, Aman Arora, Lizy Kurian John 等ASPLOS 2023 · 20 次引用
  3. BitNN: A Bit-Serial Accelerator for K-Nearest Neighbor Search in Point CloudsMeng Han, Liang Wang, Limin Xiao, Hao Zhang 等ISCA 2024 · 14 次引用
  4. CINM (Cinnamon): A Compilation Infrastructure for Heterogeneous Compute In-Memory and Compute Near-Memory ParadigmsAsif Ali Khan, Hamid Farzaneh, Karl Friedrich Alexander Friebel, Clément Fournier 等ASPLOS 2024 · 7 次引用
  5. Conduit: Programmer-Transparent Near-Data Processing Using Multiple Compute-Capable Resources in Solid State DrivesRakesh Nadig, Vamanan Arulchelvan, Mayank Kabra, Harshita Gupta 等HPCA 2026 · 2 次引用

它引用的 Paper10

  1. SIMDRAM: a framework for bit-serial SIMD processing using DRAMNastaran Hajinazar, Geraldo F. Oliveira, Sven Gregorio, João Dinis Ferreira 等ASPLOS 2021 · 182 次引用
  2. ELP2IM: Efficient and Low Power Bitwise Operation Processing in DRAMXin Xin, Youtao Zhang, Jun YangHPCA 2020 · 84 次引用
  3. SISA: Set-Centric Instruction Set Architecture for Graph Mining on Processing-in-Memory SystemsMaciej Besta, Raghavendra Kanakagiri, Grzegorz Kwasniewski, Rachata Ausavarungnirun 等MICRO 2021 · 78 次引用
  4. FIGARO: Improving System Performance via Fine-Grained In-DRAM Data Relocation and CachingYaohua Wang, Lois Orosa, Xiangjun Peng, Yang Guo 等MICRO 2020 · 72 次引用
  5. pLUTo: Enabling Massively Parallel Computation in DRAM via Lookup TablesJoão Dinis Ferreira, Gabriel Falcão, Juan Gómez-Luna, Mohammed Alser 等MICRO 2022 · 60 次引用

相关 Paper

  1. UniNDP: A Unified Compilation and Simulation Tool for Near DRAM Processing ArchitecturesTongxin Xie, Zhenhua Zhu, Bing Li, Yukai He 等HPCA 2025 · 9 次引用
  2. PUMICE: Processing-using-Memory Integration with a Scalar Pipeline for Symbiotic ExecutionSocrates S. Wong, Cecilio C. Tamarit, José F. MartínezDAC 2023 · 5 次引用
  3. ATiM: Autotuning Tensor Programs for Processing-in-DRAMYongwon Shin, Dookyung Kang, Hyojin SungISCA 2025 · 2 次引用
  4. Occamy: Elastically Sharing a SIMD Co-processor across Multiple CPU CoresZhongcheng Zhang, Yan Ou, Ying Liu, Chenxi Wang 等ASPLOS 2023 · 4 次引用
  5. HAIL-DIMM: Host Access Interleaved with Near-Data Processing on DIMM-based Memory SystemMinkyu Lee, Sang-Seol Lee, Kyungho Kim, Eunchong Lee 等DAC 2024 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖