基于快速傅立叶变换的快速立体声计算
Fast Stencil Computations using Fast Fourier Transforms
摘要:
时空计算被广泛用于模拟物理系统在多个时间步长上跨多维网格的状态变化。该领域的最新技术分为三类:缓存感知的平铺循环算法,缓存无关的分治梯形算法和Krylov子空间方法。在本文中,我们提出了两个有效的并行算法进行线性模板计算。目前在这个领域的直接求解器计算效率低下,Krylov方法需要手工劳动和数学训练。我们解决这些问题的线性stenestrant通过使用DFT预处理的Krylov方法实现直接求解器,这是快速和通用的。事实上,虽然所有目前可用的算法,用于解决一般的线性stentleman执行$Θ(NT)$工作,其中$N$是空间网格的大小和$T$是时间步的数量,我们的算法执行$o(NT)$工作。据我们所知,我们给出了第一个算法,使用快速傅立叶变换来计算最终的网格数据,通过不断演变的初始数据为许多时间步长一次。我们的算法处理周期性和非周期性边界条件,并实现多项式更好的性能界限(即,计算复杂性和并行运行时间)。初步的实验结果表明,我们的算法,大约$10^5$时间步长的演变网格$10^7$细胞运行的数量级快于国家的最先进的实现周期性的模板问题,和1.3 $\times$到8.5 $\times$更快的非周期性的模板问题。
英文摘要:
Stencil computations are widely used to simulate the change of state of physical systems across a multidimensional grid over multiple timesteps. The state-of-the-art techniques in this area fall into three groups: cache-aware tiled looping algorithms, cache-oblivious divide-and-conquer trapezoidal algorithms, and Krylov subspace methods. In this paper, we present two efficient parallel algorithms for performing linear stencil computations. Current direct solvers in this domain are computationally inefficient, and Krylov methods require manual labor and mathematical training. We solve these problems for linear stencils by using DFT preconditioning on a Krylov method to achieve a direct solver which is both fast and general. Indeed, while all currently available algorithms for solving general linear stencils perform $Θ(NT)$ work, where $N$ is the size of the spatial grid and $T$ is the number of timesteps, our algorithms perform $o(NT)$ work. To the best of our knowledge, we give the first algorithms that use fast Fourier transforms to compute final grid data by evolving the initial data for many timesteps at once. Our algorithms handle both periodic and aperiodic boundary conditions, and achieve polynomially better performance bounds (i.e., computational complexity and parallel runtime) than all other existing solutions. Initial experimental results show that implementations of our algorithms that evolve grids of roughly $10^7$ cells for around $10^5$ timesteps run orders of magnitude faster than state-of-the-art implementations for periodic stencil problems, and 1.3$\times$ to 8.5$\times$ faster for aperiodic stencil problems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。