首页> 外文会议>World environmental and water resources congress >Benchmark exercise for comparing computational performance of two-dimensional flood models in CPU, Multi-CPU and GPU frameworks
【24h】

Benchmark exercise for comparing computational performance of two-dimensional flood models in CPU, Multi-CPU and GPU frameworks

机译:在CPU,Multi-CPU和GPU框架中比较二维洪水模型的计算性能的基准练习

获取原文

摘要

The objective of this study is to investigate the computational performance and accuracy of three different implementations of a 2D flood model: sequential (Flood2D-CPP), parallel (Flood2D-PTH & Flood2D-OMP), and General Purpose Graphics Processing Unit (Flood2D-GPU). The model is based on shallow water equations (SWE) and uses an upwind-finite difference numerical formulation to simulate flood events. Two parallel versions of the model are implemented, one based on pthread and the other based on OpenMP. The GPU version has been developed using NVIDIA's CUDA library. For this study, these implementations are being applied to simulate a dam break event at the Taum Sauk pump-storage hydro-electric power plant in Missouri, which occurred on December 14, 2005. The GPU implementation provided a significant speed up, up to two orders of magnitude compared to the CPU model. As predicted, the sequential model (Flood2D-CPP) reported with the lowest performance compared to the parallel and GPGPU versions, because it would take longer for a single CPU thread to perform all the calculations as opposed to multiple threads or through multiple GPU cores . Results indicate that the computational performance of both Flood2D-PTH and Flood2D-OMP improves with increase in the number CPU threads. The speedups of Flood2D-PTH and Flood2D-OMP are maximized at 8 threads, but much less than the theoretical maximum. In general, even though Flood2D-GPU had significance performance the comparison indicated the potential for optimizing Flood2D-PTH and Flood2D-OMP models to simulate larger computational domains.
机译:这项研究的目的是调查2D Flood模型的三种不同实现的计算性能和准确性:顺序(Flood2D-CPP),并行(Flood2D-PTH和Flood2D-OMP)和通用图形处理单元(Flood2D- GPU)。该模型基于浅水方程(SWE),并使用迎风-有限差分数值公式模拟洪水事件。实现了该模型的两个并行版本,一个基于pthread,另一个基于OpenMP。 GPU版本是使用NVIDIA的CUDA库开发的。在本研究中,这些实现被应用于模拟密苏里州Taum Sauk泵蓄水电站的溃坝事件,该事件发生于2005年12月14日。GPU的实现显着提高了速度,最高可达到2倍。与CPU型号相比,数量级高。正如预测的那样,与并行和GPGPU版本相比,顺序模型(Flood2D-CPP)的性能最低,因为与多个线程或通过多个GPU内核相比,单个CPU线程执行所有计算所花费的时间更长。结果表明,随着CPU线程数量的增加,Flood2D-PTH和Flood2D-OMP的计算性能都会提高。在2个线程中,Flood2D-PTH和Flood2D-OMP的加速最大,但远小于理论最大值。通常,即使Flood2D-GPU具有显着的性能,该比较也表明可以优化Flood2D-PTH和Flood2D-OMP模型以模拟更大的计算域。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号