Bringing Water to the Fields

Bringing Water to the Fields

Wednesday, June 1, 2022 1:56 PM to 2:00 PM · 4 min. (Europe/Berlin)
Hall D - 2nd Floor

Information

FPGAs are a promising hardware architecture for acceleration of various applications. To run Shallow Water simulations on FPGAs, we present a code generation pipeline. It starts from the existing implementation of a quadrature-free Discontinuous Galerkin discretization of the Shallow Water Equation in GHODDESS. For stencil generation we use pystencils with a custom backend and target StencilStream, an FPGA library that is implemented on top of the Intel oneAPI. While the code generation provides a stencil transition function with multiple dependent stages, the StencilStream library contains an FPGA-specific architecture template that allows to automatically overlap and -- if FPGA resource constraints permit -- replicate the computation stages.

The simulation is ultimately synthesized for and executed on FPGA hardware. We show that the pipeline works for complex examples, by generating applications with up to 3500 lines of code. For small examples the performance is promising as the generated applications perform up to 3x faster than the CPU reference, depending on the degree of replication achieved.
Contributors:

  • Tobias Kenter (Universität Paderborn, Paderborn Center for Parallel Computing)
  • Christoph Alt (Friedrich-Alexander-University Erlangen-Nuremberg (FAU))
  • Jan-Oliver Opdenhövel (Paderborn Center for Parallel Computing)
Format
On-site