TY - GEN
T1 - Automatic Runtime Scheduling Via Directed Acyclic Graphs for CFD Applications
AU - Torres, Hilario C.
AU - Murman, Scott
N1 - Publisher Copyright:
© 2023, American Institute of Aeronautics and Astronautics Inc, AIAA. All rights reserved.
PY - 2023
Y1 - 2023
N2 - The order of execution of computational kernels for Single-Program, Multiple-Data (SPMD) programs is usually determined at compile time. These static predetermined schedules can lead to performance issues at runtime, and are difficult to implement for inhomogeneous situations, such as variable-order or multi-physics applications. It is especially challenging to generate performant schedules when it is unknown whether specific kernels require execution, as a function of user inputs, or the kernel execution time changes dependent on the hardware. This paper presents a solution to this problem by dynamically scheduling computational kernels at runtime using directed acyclic graphs to track the data dependencies between kernels. This system is specifically designed to leverage existing computational infrastructure as much as possible, facilitating the extension to legacy applications. This scheduling system is demonstrated using the eddy high-order multi-physics solver developed at NASA. The details regarding the implementation, our experiences using this system, and performance are discussed.
AB - The order of execution of computational kernels for Single-Program, Multiple-Data (SPMD) programs is usually determined at compile time. These static predetermined schedules can lead to performance issues at runtime, and are difficult to implement for inhomogeneous situations, such as variable-order or multi-physics applications. It is especially challenging to generate performant schedules when it is unknown whether specific kernels require execution, as a function of user inputs, or the kernel execution time changes dependent on the hardware. This paper presents a solution to this problem by dynamically scheduling computational kernels at runtime using directed acyclic graphs to track the data dependencies between kernels. This system is specifically designed to leverage existing computational infrastructure as much as possible, facilitating the extension to legacy applications. This scheduling system is demonstrated using the eddy high-order multi-physics solver developed at NASA. The details regarding the implementation, our experiences using this system, and performance are discussed.
UR - https://www.scopus.com/pages/publications/85196211121
U2 - 10.2514/6.2023-3426
DO - 10.2514/6.2023-3426
M3 - Conference contribution
AN - SCOPUS:85196211121
SN - 9781624107047
T3 - AIAA Aviation and Aeronautics Forum and Exposition, AIAA AVIATION Forum 2023
BT - AIAA Aviation and Aeronautics Forum and Exposition, AIAA AVIATION Forum 2023
PB - American Institute of Aeronautics and Astronautics Inc, AIAA
T2 - AIAA Aviation and Aeronautics Forum and Exposition, AIAA AVIATION Forum 2023
Y2 - 12 June 2023 through 16 June 2023
ER -