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

用于进程映射的GPU加速算法

GPU-Accelerated Algorithms for Process Mapping

Heidelberg University(海德堡大学)

Petr Samoldekin, Christian Schulz, Henning Woydt

AI总结:

本文提出两种基于GPU的进程映射算法,通过分层多细分和多级图划分管道整合,实现高效的负载平衡与通信成本优化,具有显著的速度提升优势。

摘要:

进程映射要求将任务图的顶点分配给超级计算机的处理元件,使得计算负载平衡同时通信成本最小化。受近期基于GPU的图划分器成功启发,我们为这一优化问题提出了两种GPU加速算法。第一种算法采用分层多细分,将任务图与超级计算机的层次结构同时划分。该方法利用基于GPU的图划分器加速映射过程。第二种算法将进程映射直接整合到现代多级图划分管道中。关键阶段如粗化和细化通过利用GPU的并行性得到加速。第一种算法平均通信成本比最先进的求解器高约12%,因此仍具有竞争力。然而,就速度而言,它远超竞争对手,几何平均加速为22倍,最大加速为934倍。第二种方法更快,几何平均加速为1454倍,峰值加速为12376倍。与其他优先考虑速度而非解质量的算法相比,该方法具有相同质量但更大的加速倍数。据我们所知,这些是首个基于GPU的进程映射算法。

英文摘要:

Process mapping asks to assign vertices of a task graph to processing elements of a supercomputer such that the computational workload is balanced while the communication cost is minimized. Motivated by the recent success of GPU-based graph partitioners, we propose two GPU-accelerated algorithms for this optimization problem. The first algorithm employs hierarchical multisection, which partitions the task graph alongside the hierarchy of the supercomputer. The method utilizes GPU-based graph partitioners to accelerate the mapping process. The second algorithm integrates process mapping directly into the modern multilevel graph partitioning pipeline. Vital phases like coarsening and refinement are accelerated by exploiting the parallelism of GPUs. The first algorithm has, on average, about 12 percent higher communication costs than the state-of-the-art solver and thus remains competitive with it. However, in terms of speed, it vastly outperforms the competitor with a geometric mean speedup of 22 times and a maximum speedup of 934 times. The second approach is even faster, with a geometric mean speedup of 1454 times and a peak speedup of 12376 times. Compared to other algorithms that prioritize speed over solution quality, this approach has the same quality but much greater speedups. To our knowledge, these are the first GPU-based algorithms for process mapping.

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

↑