单元存储中的凝聚无矩阵有限元方法
Coalesced Matrix-Free Finite Elements in Cell-Wise Storage
AI总结:
提出GPU上连续高阶有限元的单元局部向量持久表示,通过原对偶配对恒等式实现无组装Krylov迭代,仅预处理器需通信,采用维度分裂面交换实现直接刚度求和,数值实验表明性能优于现有无矩阵实现。
摘要:
我们提出了一种面向GPU的连续高阶有限元公式,其中冗余的、单元局部(单元级)向量是所有场数据的持久主要表示,而不是无矩阵算子评估的瞬态阶段。我们证明,给定一个图像连续的预处理器,整个灵活共轭梯度迭代可以完全在这个未组装的表示上执行:一个简单的原对偶配对恒等式表明,从局部数据计算的所有Krylov标量与组装求解的标量一致,因此单元间通信完全局限于预处理器。所需的直接刚度求和(DSS)随后通过维度分裂的级联一对一面对交换实现,无需间接收集-散射、原子操作或着色,该交换可证明作为顺序轴传递的副产品累积边和顶点贡献;非结构化宏块界面和$h$自适应悬挂节点由不相交的拓扑核和影子单元包装器处理,不影响高吞吐量扫描。单元存储将内存布局与网格拓扑解耦,我们利用这种自由度来基准测试在内存合并与单元连续性之间权衡的块布局。在现代GPU上的数值实验表明,所得到的算子评估和求解器优于最先进的无矩阵实现,显著超过现有实现的吞吐量。
英文摘要:
We present a GPU-oriented formulation of continuous high-order finite elements in which the redundant, cell-wise (element-local) vector is the persistent primary representation of all field data, rather than a transient stage of matrix-free operator evaluation. We prove that, given a preconditioner whose image is continuous, the entire flexible conjugate gradient iteration can be carried out exactly on this unassembled representation: a simple primal-dual pairing identity shows that all Krylov scalars computed from local data coincide with those of the assembled solve, so inter-element communication is confined entirely to the preconditioner. The required direct stiffness summation (DSS) is then realized without indirect gather-scatter, atomics, or coloring, by a dimensionally-split cascade of one-to-one face exchanges that provably accumulates edge and vertex contributions as a byproduct of sequential axis passes; unstructured macro-block interfaces and $h$-adaptive hanging nodes are handled by disjoint topological kernels and a shadow-cell wrapper that leaves the high-throughput sweeps untouched. The cell-wise storage decouples the memory layout from the mesh topology, and we exploit this freedom to benchmark blocked layouts that trade memory coalescing against element contiguity. Numerical experiments on modern GPUs demonstrate that the resulting operator evaluation and solver outperform state-of-the-art matrix-free implementations, signifficantly exceeding throughput of existing implementations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。