GPU 上张量积顶点片平滑器的实现
An implementation of tensor product patch smoothers on GPU
AI总结:
本文提出顶点片平滑器的 GPU 实现,通过片上存储器局部化优化多重网格操作,在 A100 上较直接实现加速至少 2 倍并达到 36% 峰值性能。
摘要:
我们提出了一种针对二维和三维高阶有限元方法的顶点片平滑器的 GPU 实现。分析表明,它们并非受限于 GPU DRAM 的访存带宽,而是受限于片上暂存存储器。多重网格操作通过局部化和在片上存储器中重组局部操作进行优化,实现了最小的全局数据传输和无冲突的访存模式。性能测试表明,对于 Poisson 问题,在二维和三维的各种多项式阶数下,优化后的内核至少比直接实现快 2 倍,在 Nvidia A100 GPU 上单精度和双精度均达到峰值性能的 36%。
英文摘要:
We present a GPU implementation of vertex-patch smoothers for higher order finite element methods in two and three dimensions. Analysis shows that they are not memory bound with respect to GPU DRAM, but with respect to on-chip scratchpad memory. Multigrid operations are optimized through localization and reorganized local operations in on-chip memory, achieving minimal global data transfer and a conflict free memory access pattern. Performance tests demonstrate that the optimized kernel is at least 2 times faster than the straightforward implementation for the Poisson problem, across various polynomial degrees in 2D and 3D, achieving up to 36% of the peak performance in both single and double precision on Nvidia A100 GPU.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。