CPU-GPU Heterogeneous Code Acceleration of a Finite Volume Computational Fluid Dynamics Solver

AI-generated keywords: CPU-GPU Heterogeneous computing CFD solver Performance model Supersonic inlet

AI-generated Key Points

  • Focus on acceleration of a finite-volume CFD solver using CPU-GPU heterogeneous code
  • Description of the CFD solver called SENSEI and its discretization
  • Utilization of MPI and OpenACC for CPU-GPU heterogeneous computing workflow in SENSEI
  • Proposal of a performance model for CPU-GPU heterogeneous computing with ghost cell exchange
  • Comparison of scaling performance with pure multi-CPU/GPU performance for a supersonic inlet test case
  • Improvement in performance by leveraging both CPUs and GPUs as workers compared to using pure CPUs or GPUs
  • Suggestions for application users interested in accelerating their own scientific computing simulations using CPUs and GPUs
  • Feedback for hardware architects interested in designing better CPU-GPU heterogeneous systems
  • Comparison of different solutions (CPU serial, multi-CPU parallel, GPU serial, multi-GPU parallel) for a supersonic flow test case with relative difference less than 10^-12
  • Discussion on factors influencing overall performance of CPU-GPU heterogeneous computing, including optimal workload ratio between single GPU worker and single CPU worker
  • Demonstration that utilizing both CPUs and GPUs can significantly improve performance compared to using only one type of processor
  • Proposal of a performance model to accurately estimate advantages of leveraging both CPUs and GPUs
  • Valuable insights for application users looking to accelerate scientific computing simulations and hardware architects aiming to design better CPU-GPU heterogeneous systems.
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Weicheng Xue, Hongyu Wang, Christopher J. Roy

License: CC BY 4.0

Abstract: This work deals with the CPU-GPU heterogeneous code acceleration of a finite-volume CFD solver utilizing multiple CPUs and GPUs at the same time. First, a high-level description of the CFD solver called SENSEI, the discretization of SENSEI, and the CPU-GPU heterogeneous computing workflow in SENSEI leveraging MPI and OpenACC are given. Then, a performance model for CPU-GPU heterogeneous computing requiring ghost cell exchange is proposed to help estimate the performance of the heterogeneous implementation. The scaling performance of the CPU-GPU heterogeneous computing and its comparison with the pure multi-CPU/GPU performance for a supersonic inlet test case is presented to display the advantages of leveraging the computational power of both the CPU and the GPU. Using CPUs and GPUs as workers together, the performance can be improved further compared to using pure CPUs or GPUs, and the advantages can be fairly estimated by the performance model proposed in this work. Finally, conclusions are drawn to provide 1) suggestions for application users who have an interest to leverage the computational power of the CPU and GPU to accelerate their own scientific computing simulations and 2) feedback for hardware architects who have an interest to design a better CPU-GPU heterogeneous system for heterogeneous computing.

Submitted to arXiv on 29 May. 2023

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2305.18057v1

This work focuses on the acceleration of a finite-volume Computational Fluid Dynamics (CFD) solver using CPU-GPU heterogeneous code. The authors present a high-level description of the CFD solver called SENSEI, its discretization, and the CPU-GPU heterogeneous computing workflow in SENSEI utilizing MPI and OpenACC. To estimate the performance of the heterogeneous implementation, the authors propose a performance model for CPU-GPU heterogeneous computing that requires ghost cell exchange. They demonstrate the scaling performance of CPU-GPU heterogeneous computing by comparing it with pure multi-CPU/GPU performance for a supersonic inlet test case. The results show that leveraging both CPUs and GPUs as workers together improves performance compared to using pure CPUs or GPUs. The authors also provide suggestions for application users interested in accelerating their own scientific computing simulations by leveraging the computational power of CPUs and GPUs. Additionally, they offer feedback for hardware architects interested in designing better CPU-GPU heterogeneous systems for heterogeneous computing. In terms of results, one CFD test case considered is the supersonic flow through a simplified 2D 30-degree inlet. The authors compare the CPU serial solution, multi-CPU parallel solution, GPU serial solution, and multi-GPU parallel solution. They find that all solutions have a relative difference less than 10^-12. The inflow conditions for this test case are provided in Table 1. Furthermore, factors influencing the overall performance of CPU-GPU heterogeneous computing are discussed. One such factor is determining the optimal single GPU worker over single CPU worker workload ratio. This can be achieved by running cases with different workload ratios. Overall, this study demonstrates that utilizing both CPUs and GPUs as workers can significantly improve performance compared to using only one type of processor. The proposed performance model helps estimate the advantages of leveraging both CPUs and GPUs accurately. This work provides valuable insights for application users looking to accelerate their scientific computing simulations and hardware architects aiming to design better CPU-GPU heterogeneous systems.
Created on 08 Aug. 2023

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.