二维与三维场景下HPS算法的硬件加速
Hardware Acceleration for HPS Algorithms in Two and Three Dimensions
AI总结:
本文面向二维、三维线性椭圆偏微分方程的HPS快速直接求解器,提出适配GPU并行加速的两种算法变体,基于JAX实现开源框架并完成与自动微分工具的集成,经实验验证方法兼具速度与精度优势。
摘要:
本文提出了一套灵活的开源硬件加速框架,可在通用图形处理器(GPU)上实现大规模并行执行,用于加速层级庞加莱-斯捷科洛夫(hierarchical Poincaré--Steklov, HPS)算法族,这类算法主要用于构建线性椭圆偏微分方程的快速直接求解器。为充分发挥硬件加速的算力优势,我们提出两种HPS算法变体,分别提升二维和三维问题的求解性能:在二维场景下,我们设计了全新的重计算策略,可最大程度减少GPU与主机间开销高昂的数据传输;在三维场景下,我们改进并扩展了Geldermans与Gillman于2019年提出的自适应离散化技术,可大幅降低峰值内存占用。我们基于高性能加速线性代数库JAX实现了上述方法的开源版本,首次实现了高阶快速直接求解器与自动微分工具的集成。最后我们开展了大量数值实验,结果表明所提方法在二维和三维问题上均兼具快速性与高精度。
英文摘要:
We provide a flexible, open-source framework for hardware acceleration, namely massively-parallel execution on general-purpose graphics processing units (GPUs), applied to the hierarchical Poincaré--Steklov (HPS) family of algorithms for building fast direct solvers for linear elliptic partial differential equations. To take full advantage of the power of hardware acceleration, we propose two variants of HPS algorithms to improve performance on two- and three-dimensional problems. In the two-dimensional setting, we introduce a novel recomputation strategy that minimizes costly data transfers to and from the GPU; in three dimensions, we modify and extend the adaptive discretization technique of Geldermans and Gillman [2019] to greatly reduce peak memory usage. We provide an open-source implementation of these methods written in JAX, a high-level accelerated linear algebra package, which allows for the first integration of a high-order fast direct solver with automatic differentiation tools. We conclude with extensive numerical examples showing our methods are fast and accurate on two- and three-dimensional problems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。