一种用于燃烧模拟矢量化的可移植编码策略
A portable coding strategy to exploit vectorization on combustion simulations
摘要:
燃烧模拟的复杂性需要最新的高性能计算工具来加快其解决方案的时间。HPC系统的当前趋势是利用具有SIMD或向量扩展的CPU来利用数据并行。我们的工作提出了一种策略,以提高自动矢量化的有限元为基础的科学代码。该方法对数据结构进行参数化配置,以帮助编译器检测可以利用向量计算的代码块,同时保持代码的可移植性。在PRECCINSTA燃烧器模拟中,研究了这种方法对CFD求解器不同阶段的计算影响的详细分析。我们的参数实现已被证明可以帮助编译器在汇编操作中生成更多的向量指令:这导致总执行指令减少高达9.3倍,保持恒定的指令每周期和CPU频率。所提出的策略提高了性能的计算流体动力学的情况下,在MareNostrum 4超级计算机上的研究高达4.67倍。
英文摘要:
The complexity of combustion simulations demands the latest high-performance computing tools to accelerate its time-to-solution results. A current trend on HPC systems is the utilization of CPUs with SIMD or vector extensions to exploit data parallelism. Our work proposes a strategy to improve the automatic vectorization of finite element-based scientific codes. The approach applies a parametric configuration to the data structures to help the compiler detect the block of codes that can take advantage of vector computation while maintaining the code portable. A detailed analysis of the computational impact of this methodology on the different stages of a CFD solver is studied on the PRECCINSTA burner simulation. Our parametric implementation has proven to help the compiler generate more vector instructions in the assembly operation: this results in a reduction of up to 9.3 times of the total executed instruction maintaining constant the Instructions Per Cycle and the CPU frequency. The proposed strategy improves the performance of the CFD case under study up to 4.67 times on the MareNostrum 4 supercomputer.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。