非结构网格上可压缩流动的非均匀混合精度有限体积法

IF 2.5 3区 工程技术 Q3 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS
Chen Wang, Jian Xia, Long Chen
{"title":"非结构网格上可压缩流动的非均匀混合精度有限体积法","authors":"Chen Wang,&nbsp;Jian Xia,&nbsp;Long Chen","doi":"10.1016/j.compfluid.2024.106505","DOIUrl":null,"url":null,"abstract":"<div><div>Single-precision floating-point GPU calculations in modern high-performance heterogeneous computing systems are crucial for increasing the efficiency of large-scale fluid simulations on unstructured grids. However, the lack of a unified programming language for heterogeneous systems and the significant computational errors of single-precision calculations in complex problems pose major challenges. Issues such as poor data locality and data contention in unstructured grid CFD calculations limit GPU performance. Through heterogeneous Kokkos computation, we improved data locality through data reordering and addressed data contention using the scatter-reduce strategy, atomic operations, and the color approach. We introduced an innovative hybrid-precision CFD computation strategy that leverages methods based on object distance and grid geometry for precision blending. This approach harnesses the computational advantages of single-precision GPU calculations while accurately capturing boundary layer information. We assessed the accuracy and performance of these methods on a heterogeneous CPU/GPU computing system. The reverse Cuthill-McKee algorithm significantly enhances performance, atomic operations are the optimal strategy for GPUs, and in the hybrid-precision strategy proposed in this paper, the Tesla A100 GPU, RTX 4090 GPU, and RX 7900 XTX GPU achieve overall speedup of 469, 310, and 413, respectively.</div></div>","PeriodicalId":287,"journal":{"name":"Computers & Fluids","volume":"288 ","pages":"Article 106505"},"PeriodicalIF":2.5000,"publicationDate":"2024-12-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A heterogeneous hybrid-precision finite volume method for compressible flow on unstructured grids\",\"authors\":\"Chen Wang,&nbsp;Jian Xia,&nbsp;Long Chen\",\"doi\":\"10.1016/j.compfluid.2024.106505\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>Single-precision floating-point GPU calculations in modern high-performance heterogeneous computing systems are crucial for increasing the efficiency of large-scale fluid simulations on unstructured grids. However, the lack of a unified programming language for heterogeneous systems and the significant computational errors of single-precision calculations in complex problems pose major challenges. Issues such as poor data locality and data contention in unstructured grid CFD calculations limit GPU performance. Through heterogeneous Kokkos computation, we improved data locality through data reordering and addressed data contention using the scatter-reduce strategy, atomic operations, and the color approach. We introduced an innovative hybrid-precision CFD computation strategy that leverages methods based on object distance and grid geometry for precision blending. This approach harnesses the computational advantages of single-precision GPU calculations while accurately capturing boundary layer information. We assessed the accuracy and performance of these methods on a heterogeneous CPU/GPU computing system. The reverse Cuthill-McKee algorithm significantly enhances performance, atomic operations are the optimal strategy for GPUs, and in the hybrid-precision strategy proposed in this paper, the Tesla A100 GPU, RTX 4090 GPU, and RX 7900 XTX GPU achieve overall speedup of 469, 310, and 413, respectively.</div></div>\",\"PeriodicalId\":287,\"journal\":{\"name\":\"Computers & Fluids\",\"volume\":\"288 \",\"pages\":\"Article 106505\"},\"PeriodicalIF\":2.5000,\"publicationDate\":\"2024-12-04\",\"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/S0045793024003360\",\"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/S0045793024003360","RegionNum":3,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0

摘要

现代高性能异构计算系统中的单精度浮点GPU计算对于提高非结构化网格上大规模流体模拟的效率至关重要。然而,缺乏针对异构系统的统一编程语言以及复杂问题中单精度计算的显著计算误差构成了重大挑战。非结构化网格CFD计算中的数据局部性差和数据争用等问题限制了GPU的性能。通过异构Kokkos计算,我们通过数据重新排序提高了数据的局域性,并使用分散减少策略、原子操作和颜色方法解决了数据争用问题。我们介绍了一种创新的混合精度CFD计算策略,该策略利用基于物体距离和网格几何的方法进行精确混合。该方法利用单精度GPU计算的计算优势,同时准确捕获边界层信息。我们在异构CPU/GPU计算系统上评估了这些方法的准确性和性能。反向Cuthill-McKee算法显著提高了性能,原子运算是GPU的最优策略,在本文提出的混合精度策略中,Tesla A100 GPU、RTX 4090 GPU和RX 7900 XTX GPU的整体加速分别达到469、310和413。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
A heterogeneous hybrid-precision finite volume method for compressible flow on unstructured grids
Single-precision floating-point GPU calculations in modern high-performance heterogeneous computing systems are crucial for increasing the efficiency of large-scale fluid simulations on unstructured grids. However, the lack of a unified programming language for heterogeneous systems and the significant computational errors of single-precision calculations in complex problems pose major challenges. Issues such as poor data locality and data contention in unstructured grid CFD calculations limit GPU performance. Through heterogeneous Kokkos computation, we improved data locality through data reordering and addressed data contention using the scatter-reduce strategy, atomic operations, and the color approach. We introduced an innovative hybrid-precision CFD computation strategy that leverages methods based on object distance and grid geometry for precision blending. This approach harnesses the computational advantages of single-precision GPU calculations while accurately capturing boundary layer information. We assessed the accuracy and performance of these methods on a heterogeneous CPU/GPU computing system. The reverse Cuthill-McKee algorithm significantly enhances performance, atomic operations are the optimal strategy for GPUs, and in the hybrid-precision strategy proposed in this paper, the Tesla A100 GPU, RTX 4090 GPU, and RX 7900 XTX GPU achieve overall speedup of 469, 310, and 413, respectively.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Computers & Fluids
Computers & Fluids 物理-计算机:跨学科应用
CiteScore
5.30
自引率
7.10%
发文量
242
审稿时长
10.8 months
期刊介绍: 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.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信