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

SET: 流事件触发的CUDA图流水线高效调度

SET: Stream-Event-Triggered Scheduling for Efficient CUDA Graph Pipelines

University of Wisconsin-Madison(威斯康星大学麦迪逊分校)

Zhengxiong Li, Tsung-Wei Huang, Umit Ogras

AI总结:

针对GPU调度开销和同步延迟问题,提出基于多流任务并行流水线模型和图执行流的CUDA运行时框架,实现1.15-1.44倍加速并减少18-54%调度开销。

摘要:

即使采用激进的内核优化和批处理,系统吞吐量仍受限于主机-设备同步延迟和内核调度开销,实现峰值GPU性能仍是一项重大挑战。此外,现有方法常因调度开销而未能充分利用计算核心和拷贝引擎等硬件资源。为解决这些问题,我们提出了一种面向任务并行流水线的CUDA运行时框架,以最小化同步开销和内核执行间隙。该方案结合了两项创新:(1)一种多流任务并行流水线编程模型,利用事件链和工作窃取机制充分挖掘可用硬件资源;(2)一种基于图的执行流,配合每流缓冲区,确保多个并发运行的任务的内存安全性。在代表性真实工作负载上的广泛评估表明,与最先进的CUDA图基线相比,实现了1.15-1.44倍的加速,并将调度开销降低了18-54%。

英文摘要:

Achieving peak GPU performance remains a significant challenge as the system throughput is constrained by host-device synchronization delays and kernel scheduling overheads, even with aggressive kernel optimizations and batch processing. Furthermore, existing approaches often underutilize hardware resources such as compute cores and copy engines due to scheduling overheads. To address these problems, we propose a CUDA runtime framework for task-parallel pipelines to minimize the synchronization overheads and the gap between kernel executions. The proposed solution combines two innovations: (1) a multi-stream task-parallel pipeline programming model that leverages event-chaining and work-stealing mechanisms to fully utilize available hardware resources; (2) a graph-based execution flow with per-stream buffers to ensure memory safety for multiple in-flight jobs running concurrently. Extensive evaluations on representative real-world workloads show 1.15--1.44X speedup and reduce scheduling overheads by 18--54% compared to state-of-the-art CUDA graph baselines.

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

↑