通过沙漏依赖模式收紧I/O下界
Tightening I/O Lower Bounds through the Hourglass Dependency Pattern
AI总结:
本文针对线性代数核依赖图中的“沙漏模式”,在双内存顺序执行模型下数学证明了更紧的I/O复杂度下界,改进了现有最优下界,并集成至IOLB工具中。
摘要:
设计算法时,人们关注算术/计算复杂度,但数据移动(I/O)复杂度扮演着日益重要的角色,对性能和能耗影响极大。对于给定算法和I/O模型,循环分块等调度策略可将所需I/O降至某个极限,即算法固有的I/O复杂度。I/O复杂度分析的目标是计算给定程序在所有有效调度下的最小I/O需求。我们考虑包含两个内存的顺序执行模型:一个无限内存,和一个大小为S的小内存,计算在该小内存上获取和产生数据。I/O即两个内存间读写的次数。我们在若干常见线性代数核的依赖图中识别出一种常见的“沙漏模式”。利用该模式的性质,我们在数学上证明了其I/O复杂度的更紧下界,通过一个参数化比率改进了先前最优下界。该证明已集成至IOLB自动下界推导工具中。
英文摘要:
When designing an algorithm, one cares about arithmetic/computational complexity, but data movement (I/O) complexity plays an increasingly important role that highly impacts performance and energy consumption. For a given algorithm and a given I/O model, scheduling strategies such as loop tiling can reduce the required I/O down to a limit, called the I/O complexity, inherent to the algorithm itself. The objective of I/O complexity analysis is to compute, for a given program, its minimal I/O requirement among all valid schedules. We consider a sequential execution model with two memories, an infinite one, and a small one of size S on which the computations retrieve and produce data. The I/O is the number of reads and writes between the two memories. We identify a common "hourglass pattern" in the dependency graphs of several common linear algebra kernels. Using the properties of this pattern, we mathematically prove tighter lower bounds on their I/O complexity, which improves the previous state-of-the-art bound by a parametric ratio. This proof was integrated inside the IOLB automatic lower bound derivation tool.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。