p4est软件库中AMR算法的基于Morton索引和AVX2向量化的替代象限表示
Alternative quadrant representations with Morton index and AVX2 vectorization for AMR algorithms within the p4est software library
AI总结:
本研究为p4est并行自适应网格细化软件新增两种替代象限表示,分别基于长单调索引和AVX2向量化,经集群基准测试验证可提升性能、降低内存占用。
摘要:
我们提出了p4est(并行自适应网格细化软件)内部的一项技术增强方案。在p4est中,基元在三维下以八叉树单元存储,在二维下以象限存储。传统上,它们通过原生方法利用空间位置和细化级别进行编码,但也可以使用其他任何数学上等价的编码方式替代。\n 基于这一认识,我们在经典的显式版本基础上新增了两种替代表示,分别基于长单调索引和128位AVX四字整数。第一种表示需要修改底层象限操作算法的逻辑,另一种则利用数据级并行性,需要对算法进行调整以适配SIMD指令。与标准基线相比,由此得到的算法和数据结构实现了更高的性能和更低的内存占用。\n 我们在一个集群上对选定算法进行了基准测试,该集群每个节点配备2颗支持AVX2扩展的Intel(R) Xeon(R) Gold 6130 Skylake系列CPU,每个节点配有192 GB RAM,总算力核心数最高可达512个。
英文摘要:
We present a technical enhancement within the p4est software for parallel adaptive mesh refinement. In p4est primitives are stored as octants in three and quadrants in two dimensions. While, classically, they are encoded by the native approach using its spatial and refinement level, any other mathematically equivalent encoding might be used instead. Recognizing this, we add two alternative representations to the classical, explicit version, based on a long monotonic index and 128-bit AVX quad integers, respectively. The first one requires changes in logic for low-level quadrant manipulating algorithms, while the other exploits data level parallelism and requires algorithms to be adapted to SIMD instructions. The resultant algorithms and data structures lead to higher performance and lesser memory usage in comparison with the standard baseline. We benchmark selected algorithms on a cluster with two Intel(R) Xeon(R) Gold 6130 Skylake family CPUs per node, which provides support for AVX2 extensions, 192 GB RAM per node, and up to 512 computational cores in total.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。