paperbot · PL 论文追踪

全部论文 待读 收藏

P2 HiWayLib

HiWayLib:面向 CPU-GPU 异构系统的流水线通信库
ASPLOS Proceedings of the Twenty-Fourth International Conference on Architectural Support for Programming Languages and Operating Systems2019匹配度 1/10 · 该论文面向 CPU-GPU 异构系统中的流水线通信库,属于并行计算与系统/体系结构方向,与用户关注的静态分析、Agentic 程序、LLM 与程序分析交叉、浮点程序分析及贝叶斯程序分析均无直接关联。引用 8 inbox
Zhen Zheng, Chanyoung Oh, Jidong Zhai, Xipeng Shen, Youngmin Yi, Wenguang Chen
crossref: 2026-09-12

AI 速览

一句话:提出统一库 HiWayLib,解决 CPU-GPU 流水线通信中的结束检测、队列竞争与跨设备传输问题,显著加速。

针对 CPU-GPU 异构系统中流水线应用的通信效率问题,本文深入分析了流水线阶段间通信的三大挑战:流水线处理结束检测缓慢且易错、GPU 上队列竞争激烈,以及跨设备数据移动繁琐。作者分别提出对应解决方案并集成为统一库 HiWayLib,支持位于 CPU 与 GPU 不同部分的流水线阶段间高效通信。实验表明,HiWayLib 能显著提升异构流水线通信效率;在真实应用中,相较于当前最优实现取得 1.22~2.13 倍加速,且仅需少量额外编程工作。

问题
CPU-GPU 异构流水线应用中,跨 CPU 与 GPU 各部分的阶段间通信缺乏高效支持,现成并发数据结构因 GPU 大规模并行及内存与连接复杂性而不适用。
方法
识别结束检测、GPU 队列竞争和跨设备数据移动三个关键问题,分别设计解决方案并集成为统一库 HiWayLib。
评估
在真实 CPU-GPU 流水线应用上对比当前最优实现,测得 1.22~2.13 倍加速,且额外编程负担小。
原文摘要(Abstract)

Pipeline is a parallel computing model underpinning a class of important applications running on CPU-GPU heterogeneous systems. A critical aspect for the efficiency of such applications is the support of communications among pipeline stages that may reside on CPU and different parts of a GPU. Existing libraries of concurrent data structures do not meet the needs, due to the massive parallelism on GPU and the complexities in CPU-GPU memory and connections. This work gives an in-depth study on the communication problem. It identifies three key issues, namely, slow and error-prone detection of the end of pipeline processing, intensive queue contentions on GPU, and cumbersome inter-device data movements. This work offers solutions to each of the issues, and integrates all together to form a unified library named HiWayLib. Experiments show that HiWayLib significantly boosts the efficiency of pipeline communications in CPU-GPU heterogeneous applications. For real-world applications, HiWayLib produces 1.22~2.13× speedups over the state-of-art implementations with little extra programming effort required.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot4875,
  title = {HiWayLib},
  author = {Zhen Zheng and Chanyoung Oh and Jidong Zhai and Xipeng Shen and Youngmin Yi and Wenguang Chen},
  booktitle = {ASPLOS},
  year = {2019},
  doi = {10.1145/3297858.3304032}
}