A compressible flow heterogeneous parallel solver based on MPI+CUDA on CPU/GPU heterogeneous system was established.Then different parallel computing models and optimizing methods of compressible flow parallel computing algorithm were discussed.This solver runs different codes with difference resources:the codes which are complex or have low computing density are run on CPU,while the codes which are simple or have high computing density are run on GPU.The heterogeneous systems’computing results and the efficiencies with homogeneous systems were compared through several problems.Finally,the heterogeneous algorithm was applied to the hypersonic flow.The result shows that the algorithm is robust and the computing efficiency is improved ten times more than that of the homogeneous algorithm.%在CPU/GPU异构体系结构计算集群上,建立了基于MPI+CUDA的异构并行可压缩流求解器。讨论了异构结构上的可压缩流并行算法的并行模式,在CPU上执行计算密集度低、指令复杂的计算任务,在GPU上执行计算密集度高、指令单一的计算任务。通过数个算例,对比了异构并行计算和传统CPU并行计算计算结果和计算效率。将该算法运用于高超声速流动的数值模拟中,数值结果显示,基于MPI+CUDA的异构并行可压缩流求解器鲁棒性好,计算效率较CPU同构并行计算提高10倍以上。
展开▼