arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.19745cs.DC
收藏

基于串行-并行分解的异构系统静态任务映射

Static task mapping for heterogeneous systems based on series-parallel decompositions

Otto-von-Guericke University Magdeburg(马格德堡奥托·冯·古里克大学)

Martin Wilhelm, Thilo Pionteck

AI总结:

本文提出基于图分解和建模评估的任务映射原则,通过串行-并行分解生成高效任务映射算法,优于混合整数线性规划和HEFT算法,在复杂环境中提升调度效率。

摘要:

现代异构系统包含多种处理单元,如CPU、GPU、FPGA和AI单元。应用设计中的核心问题是找到有益的任务映射。尽管有多种任务映射方法,但很少能处理高异构性或高任务数的应用。此外,FPGA的流式特性通常未被考虑。本文提出基于图分解和建模评估的新任务映射原则,能够找到无论场景复杂度如何的有益映射。我们应用该原则,通过串行-并行分解生成高质量且高效的任务映射算法。为此,我们提出一种新的算法来计算通用DAG的串行-并行分解森林。我们比较了基于分解的映射算法与三种混合整数线性规划、一个遗传算法和两种HEFT变体。我们证明,我们的方法在复杂环境中能产生比HEFT变体显著更高的makespan改进,同时比基于遗传算法或整数线性规划的映射快多个数量级。

英文摘要:

Modern heterogeneous systems consist of many different processing units, such as CPUs, GPUs, FPGAs and AI units. A central problem in the design of applications in this environment is to find a beneficial mapping of tasks to processing units. While there are various approaches to task mapping, few can deal with high heterogeneity or applications with a high number of tasks and many dependencies. In addition, streaming aspects of FPGAs are generally not considered. We present a new general task mapping principle based on graph decompositions and model-based evaluation that can find beneficial mappings regardless of the complexity of the scenario. We apply this principle to create a high-quality and reasonably efficient task mapping algorithm using series-parallel decompositions. For this, we present a new algorithm to compute a forest of series-parallel decomposition trees for general DAGs. We compare our decomposition-based mapping algorithm with three mixed-integer linear programs, one genetic algorithm and two variations of the Heterogeneous Earliest Finish Time (HEFT) algorithm. We show that our approach can generate mappings that lead to substantially higher makespan improvements than the HEFT variations in complex environments while being orders of magnitude faster than a mapper based on genetic algorithms or integer linear programs.

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

↑