Towards Performance Portable Kernels for Computational Fluid Dynamics Using DaCe

With the rise of new high-performance computing (HPC) accelerators, such as Nvidia and AMD GPUs, the demand for efficient code targeting diverse hardware accelerators poses a critical challenge for HPC application developers. This hardware diversity in the HPC systems necessitates the development of new code tailored to specific architectures, which, in turn, hampers the sustainability of large scientific application development. In this work, we rely on DaCe [1, 2], a data-centric parallel programming framework, to automate the generation of high-performance kernels. DaCe can generate automatic code for multicore processors and various accelerators, alleviating the programmer burden of rewriting code for a new architecture. Our work demonstrates the automatic code generation capabilities of DaCe, applied to a critical high-performance computational kernel for Computational Fluid Dynamics code. Specifically, we focus on the Fortran-based solver, Neko [4] which is based on the Spectral Element Method. This method relies on small-sized matrix multiplications akin to BLAS dgemm operations. We describe the formulation of this computational kernel through DaCe’s Stateful Dataflow Multigraph (SDFG) representation. We discuss how this representation facilitates high-performance code generation and detail the workflow for integration of DaCe’s automatically generated code into the Neko solver. Initial work on Nvidia GH200. By showcasing the potential of automatic code generation, we highlight the feasibility of supporting the long-term sustainability of large-scale scientific applications by using portable solutions for critical computational kernels of large-scale codes.

Authors

Institutions

Publication Details

Published
2024-08-09
DOI
https://doi.org/10.1145/3677333.3678270
Citations
1
Primary Topic
Parallel Computing and Optimization Techniques
Type
article
Field-Weighted Citation Impact
0.49
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Towards Performance Portable Kernels for Computational Fluid Dynamics Using DaCe

Martin Karp, Måns I. Andersson, Stefano Markidis
1 citations
Parallel Computing and Optimization Techniques
0.49
article

Towards Performance Portable Kernels for Computational Fluid Dynamics Using DaCe

Martin Karp, Måns I. Andersson, Stefano Markidis
article en
1 citations

Abstract

With the rise of new high-performance computing (HPC) accelerators, such as Nvidia and AMD GPUs, the demand for efficient code targeting diverse hardware accelerators poses a critical challenge for HPC application developers. This hardware diversity in the HPC systems necessitates the development of new code tailored to specific architectures, which, in turn, hampers the sustainability of large scientific application development. In this work, we rely on DaCe [1, 2], a data-centric parallel programming framework, to automate the generation of high-performance kernels. DaCe can generate automatic code for multicore processors and various accelerators, alleviating the programmer burden of rewriting code for a new architecture. Our work demonstrates the automatic code generation capabilities of DaCe, applied to a critical high-performance computational kernel for Computational Fluid Dynamics code. Specifically, we focus on the Fortran-based solver, Neko [4] which is based on the Spectral Element Method. This method relies on small-sized matrix multiplications akin to BLAS dgemm operations. We describe the formulation of this computational kernel through DaCe’s Stateful Dataflow Multigraph (SDFG) representation. We discuss how this representation facilitates high-performance code generation and detail the workflow for integration of DaCe’s automatically generated code into the Neko solver. Initial work on Nvidia GH200. By showcasing the potential of automatic code generation, we highlight the feasibility of supporting the long-term sustainability of large-scale scientific applications by using portable solutions for critical computational kernels of large-scale codes.

KTH Royal Institute of Technology (SE)
Affordable and clean energy
Openalex Percentile: Top 39%
Parallel Computing and Optimization Techniques
0.49
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.