利用依赖性和并行性:GPU任务的实时调度与分析
Exploiting Dependency and Parallelism: Real-Time Scheduling and Analysis for GPU Tasks
AI总结:
本文提出了一种基于DAG结构的GPU任务调度与分析方法,通过扩展内核并行性并建立依赖关系,减少响应时间并提高执行效率。
摘要:
随着人工智能的快速发展,图形处理单元(GPU)在越来越多的安全关键应用领域中变得越来越重要。应用GPU对于并行计算是必不可少的;然而,在GPU任务中的内核之间复杂的数据依赖性和资源竞争可能会导致执行时间不可预测地延迟。为了解决这些问题,本文提出了一种针对有向无环图(DAG)结构GPU任务的调度和分析方法。给定DAG表示,所提出的调度方法扩展了内核级别的并行性,并建立内核间的依赖关系,以提供一个减少且可预测的DAG响应时间。相应的定时分析产生了一个安全且非悲观的完成时间界,而无需对内核优先级做出任何假设。所提出的方法使用标准的CUDA API实现,不需要额外的软件或硬件支持。实验结果在合成和真实世界基准测试下显示,所提出的方法与现有方法相比,能够有效减少最坏情况下的完成时间和测量任务执行时间,分别达到32.8%和21.3%。
英文摘要:
With the rapid advancement of Artificial Intelligence, the Graphics Processing Unit (GPU) has become increasingly essential across a growing number of safety-critical application domains. Applying a GPU is indispensable for parallel computing; however, the complex data dependencies and resource contention across kernels within a GPU task may unpredictably delay its execution time. To address these problems, this paper presents a scheduling and analysis method for Directed Acyclic Graph (DAG)-structured GPU tasks. Given a DAG representation, the proposed scheduling scales the kernel-level parallelism and establishes inter-kernel dependencies to provide a reduced and predictable DAG response time. The corresponding timing analysis yields a safe yet nonpessimistic makespan bound without any assumption on kernel priorities. The proposed method is implemented using the standard CUDA API, requiring no additional software or hardware support. Experimental results under synthetic and real-world benchmarks demonstrate that the proposed approach effectively reduces the worst-case makespan and measured task execution time compared to the existing methods up to 32.8% and 21.3%, respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。