{"title":"异构CPU-GPU架构中gpu加速燃烧模拟的优化工作负载分配","authors":"Álvaro Moure, Anurag Surapaneni, Daniel Mira","doi":"10.1016/j.compfluid.2025.106846","DOIUrl":null,"url":null,"abstract":"<div><div>This work presents a set of workload distribution algorithms designed to optimize the hybrid use of CPUs and GPUs in reacting flow simulations on heterogeneous High-Performance Computing (HPC) systems. The algorithms extend advanced computational software originally developed for CPUs to hybrid CPU–GPU environments. Unlike GPU-exclusive software, hybrid codes require specialized orchestration to maximize GPU utilization while minimizing CPU idle time. Combustion simulations are computationally demanding due to the evaluation of non-linear source terms and the transport of large number of PDEs with strong imbalanced MPI workloads, so it requires highly efficient codes with advanced parallel algorithms. Algorithms based on different MPI-GPU mapping roles defined to maximize chemistry batch size while reducing GPU communication overhead are proposed to accelerate combustion simulations using heterogeneous HPC systems. These approaches offload the expensive chemical integration step to the GPUs, while the transport remains on the CPUs using an operator splitting technique. Stiff chemical integration is GPU-accelerated with <span>ChemInt</span>, a newly developed CPU/GPU-compatible <span>C++</span>/<span>CUDA</span> library designed for coupling with CPU-based CFD codes. A comparison of the different approaches is presented and discussed demonstrating performance improvements of more than threefold over CPU-only executions.</div></div>","PeriodicalId":287,"journal":{"name":"Computers & Fluids","volume":"302 ","pages":"Article 106846"},"PeriodicalIF":3.0000,"publicationDate":"2025-09-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Optimized workload distribution for GPU-accelerated combustion simulations in heterogeneous CPU–GPU architectures\",\"authors\":\"Álvaro Moure, Anurag Surapaneni, Daniel Mira\",\"doi\":\"10.1016/j.compfluid.2025.106846\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>This work presents a set of workload distribution algorithms designed to optimize the hybrid use of CPUs and GPUs in reacting flow simulations on heterogeneous High-Performance Computing (HPC) systems. The algorithms extend advanced computational software originally developed for CPUs to hybrid CPU–GPU environments. Unlike GPU-exclusive software, hybrid codes require specialized orchestration to maximize GPU utilization while minimizing CPU idle time. Combustion simulations are computationally demanding due to the evaluation of non-linear source terms and the transport of large number of PDEs with strong imbalanced MPI workloads, so it requires highly efficient codes with advanced parallel algorithms. Algorithms based on different MPI-GPU mapping roles defined to maximize chemistry batch size while reducing GPU communication overhead are proposed to accelerate combustion simulations using heterogeneous HPC systems. These approaches offload the expensive chemical integration step to the GPUs, while the transport remains on the CPUs using an operator splitting technique. Stiff chemical integration is GPU-accelerated with <span>ChemInt</span>, a newly developed CPU/GPU-compatible <span>C++</span>/<span>CUDA</span> library designed for coupling with CPU-based CFD codes. A comparison of the different approaches is presented and discussed demonstrating performance improvements of more than threefold over CPU-only executions.</div></div>\",\"PeriodicalId\":287,\"journal\":{\"name\":\"Computers & Fluids\",\"volume\":\"302 \",\"pages\":\"Article 106846\"},\"PeriodicalIF\":3.0000,\"publicationDate\":\"2025-09-24\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Computers & Fluids\",\"FirstCategoryId\":\"5\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0045793025003068\",\"RegionNum\":3,\"RegionCategory\":\"工程技术\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers & Fluids","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0045793025003068","RegionNum":3,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
Optimized workload distribution for GPU-accelerated combustion simulations in heterogeneous CPU–GPU architectures
This work presents a set of workload distribution algorithms designed to optimize the hybrid use of CPUs and GPUs in reacting flow simulations on heterogeneous High-Performance Computing (HPC) systems. The algorithms extend advanced computational software originally developed for CPUs to hybrid CPU–GPU environments. Unlike GPU-exclusive software, hybrid codes require specialized orchestration to maximize GPU utilization while minimizing CPU idle time. Combustion simulations are computationally demanding due to the evaluation of non-linear source terms and the transport of large number of PDEs with strong imbalanced MPI workloads, so it requires highly efficient codes with advanced parallel algorithms. Algorithms based on different MPI-GPU mapping roles defined to maximize chemistry batch size while reducing GPU communication overhead are proposed to accelerate combustion simulations using heterogeneous HPC systems. These approaches offload the expensive chemical integration step to the GPUs, while the transport remains on the CPUs using an operator splitting technique. Stiff chemical integration is GPU-accelerated with ChemInt, a newly developed CPU/GPU-compatible C++/CUDA library designed for coupling with CPU-based CFD codes. A comparison of the different approaches is presented and discussed demonstrating performance improvements of more than threefold over CPU-only executions.
期刊介绍:
Computers & Fluids is multidisciplinary. The term ''fluid'' is interpreted in the broadest sense. Hydro- and aerodynamics, high-speed and physical gas dynamics, turbulence and flow stability, multiphase flow, rheology, tribology and fluid-structure interaction are all of interest, provided that computer technique plays a significant role in the associated studies or design methodology.