Portable High-Performance Kernel Generation for a Computational Fluid Dynamics Code with DaCe
M{\aa}ns I. Andersson, Martin Karp, Niclas Jansson, Stefano Markidis

TL;DR
This paper presents a method using DaCe to automatically generate high-performance, portable kernels for CFD applications, enabling efficient execution across diverse HPC hardware platforms.
Contribution
It introduces a workflow for automatic code generation with DaCe for CFD kernels, enhancing portability and performance across multiple GPU architectures.
Findings
Generated code performs competitively on Nvidia and AMD GPUs.
The approach simplifies adapting CFD kernels to new hardware architectures.
Demonstrates the feasibility of portable, high-performance scientific computing.
Abstract
With the emergence of new high-performance computing (HPC) accelerators, such as Nvidia and AMD GPUs, efficiently targeting diverse hardware architectures has become a major challenge for HPC application developers. The increasing hardware diversity in HPC systems often necessitates the development of architecture-specific code, hindering the sustainability of large-scale scientific applications. In this work, we leverage DaCe, a data-centric parallel programming framework, to automate the generation of high-performance kernels. DaCe enables automatic code generation for multicore processors and various accelerators, reducing the burden on developers who would otherwise need to rewrite code for each new architecture. Our study demonstrates DaCe's capabilities by applying its automatic code generation to a critical computational kernel used in Computational Fluid Dynamics (CFD).…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsReal-time simulation and control systems · Computational Fluid Dynamics and Aerodynamics · Fluid Dynamics Simulations and Interactions
