{"title":"Parallelization of the streamline simulation based on CUDA","authors":"Mulan Luo, Xu-sheng Wang, Xiaohui Ji","doi":"10.1145/3318265.3318269","DOIUrl":null,"url":null,"abstract":"To accelerate the streamline simulation and satisfy the real-time demands, in this paper, we proposed a method based on GPUs to parallelize the streamline simulation. CUDA architecture was used to implement the parallel algorithm on a single GPU and a multi-GPU computer. In our method, a grid is organized into a 2D array of blocks, and all threads in a block are organized into a 1D array, such that each thread in a block computes one streamline. To implement the method on multiple GPUs, the physical cell model is divided into sub-models to make the number of sub-models equal to the number of GPUs. The algorithm is applied to a Tóthian basin as an example. The experimental analysis shows that the parallel algorithm based on different numbers of GPUs has different accelerations. For a single GPU, the speedup reaches 170 times; and for five GPUs, it is 808 times, for a physical model with 40×106 cells. The conclusion is that GPUs can greatly accelerate the streamline simulation.","PeriodicalId":241692,"journal":{"name":"Proceedings of the 3rd International Conference on High Performance Compilation, Computing and Communications","volume":"11 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-03-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 3rd International Conference on High Performance Compilation, Computing and Communications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3318265.3318269","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
To accelerate the streamline simulation and satisfy the real-time demands, in this paper, we proposed a method based on GPUs to parallelize the streamline simulation. CUDA architecture was used to implement the parallel algorithm on a single GPU and a multi-GPU computer. In our method, a grid is organized into a 2D array of blocks, and all threads in a block are organized into a 1D array, such that each thread in a block computes one streamline. To implement the method on multiple GPUs, the physical cell model is divided into sub-models to make the number of sub-models equal to the number of GPUs. The algorithm is applied to a Tóthian basin as an example. The experimental analysis shows that the parallel algorithm based on different numbers of GPUs has different accelerations. For a single GPU, the speedup reaches 170 times; and for five GPUs, it is 808 times, for a physical model with 40×106 cells. The conclusion is that GPUs can greatly accelerate the streamline simulation.