首页> 外文会议>International Conference on High Performance Computing and Simulation >Vectorization of Riemann solvers for the single- and multi-layer Shallow Water Equations
【24h】

Vectorization of Riemann solvers for the single- and multi-layer Shallow Water Equations

机译:RIEMANN求解器的升降型浅水方程式

获取原文

摘要

We discuss vectorization of normal and transverse Riemann solvers for the single- and multi-layer shallow water equations. Our approach is simple and portable, as it is based on auto-vectorization by the compiler, aided by OpenMP 4.0 directives. Despite the high complexity of the solver routines, the Intel Fortran Compiler proved itself able to successfully vectorize loops containing calls to these solvers, after only a few small changes in their code. We evaluate the performance of the vectorized Riemann solvers within the context of GeoClaw, a software designed for simulation of geophysical flows with finite volume methods. Our performance studies consider two platforms with different sets of SIMD instructions: a dual-socket Haswell system with the AVX2 instruction set (256-bit) and an Intel Xeon Phi (Knights Landing) with AVX-512 instructions (512-bit). The experimental results indicate performance improvements of up to 2.1x on the former platform and up to 6.5x on the latter (with double-precision arithmetic). We also show that these speedups can easily compensate for the overhead introduced by the rearrangement of the simulation data structures, which might be necessary to achieve efficient vectorization.
机译:我们讨论了用于单层浅水方程的正常和横向黎曼求解器的矢量化。我们的方法是简单且便携式的,因为它基于编译器的自动矢量化,由OpenMP 4.0指令辅助。尽管求解器例程具有很高的复杂性,但Intel Fortran编译器证明自己能够成功向往包含对这些求解器的呼叫的循环,仅在其代码中只有一些小的变化。我们在Geoclaw的背景下评估了矢量化的riemann求解器的性能,该软件设计用于用有限体积方法模拟地球物理流动的模拟。我们的性能研究考虑了两个具有不同SIMD指令的平台:带有AVX2指令集(256位)和英特尔Xeon Phi(骑士登陆)的双插座哈尔韦尔系统,具有AVX-512指令(512位)。实验结果表明,在前平台上高达2.1倍的性能提高,后者高达6.5倍(双精度算术)。我们还表明,这些加速可以很容易地补偿由模拟数据结构重新排列引入的开销,这可能是实现有效的矢量化。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号