通过任务与内核融合组合分布式计算
Composing Distributed Computations Through Task and Kernel Fusion
AI总结:
Diffuse通过中间表示和JIT编译器在分布式任务运行时中动态融合任务与内核,平均加速1.86倍,并发现跨库优化机会,使Python程序性能媲美MPI。
摘要:
我们介绍了Diffuse,一个在分布式、基于任务的运行时系统中动态执行任务和内核融合的系统。Diffuse的关键组件是分布式计算的中间表示,它使得分布式任务融合所需的分析能够以可扩展的方式进行。我们将任务融合与JIT编译器配对,以融合融合任务内的内核。我们通过实验证明,Diffuse的中间表示足够通用,可以作为两个真实世界的基于任务的库(cuNumeric和Legate Sparse)的目标,使Diffuse能够在函数和库边界之间找到优化机会。Diffuse加速了通过组合基于任务的库开发的未修改应用程序,平均加速1.86倍(几何平均值),在多达128个GPU上加速范围在0.93倍到10.7倍之间。Diffuse还发现了原始应用程序开发者错过的优化机会,使高级Python程序能够匹配或超过显式并行MPI库的性能。
英文摘要:
We introduce Diffuse, a system that dynamically performs task and kernel fusion in distributed, task-based runtime systems. The key component of Diffuse is an intermediate representation of distributed computation that enables the necessary analyses for the fusion of distributed tasks to be performed in a scalable manner. We pair task fusion with a JIT compiler to fuse together the kernels within fused tasks. We show empirically that Diffuse's intermediate representation is general enough to be a target for two real-world, task-based libraries (cuNumeric and Legate Sparse), letting Diffuse find optimization opportunities across function and library boundaries. Diffuse accelerates unmodified applications developed by composing task-based libraries by 1.86x on average (geo-mean), and by between 0.93x--10.7x on up to 128 GPUs. Diffuse also finds optimization opportunities missed by the original application developers, enabling high-level Python programs to match or exceed the performance of an explicitly parallel MPI library.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。