为了实现异构并行矩量法可跨节点,研究了CPU/GPU与CPU/MIC分布式异构平台上矩量法并行编程模型.利用图形处理器通用编程标准CUDA中提供的CONTEXT技术及集成众核中环境变量的概念,提出了一种适用于CPU/GPU与CPU/MIC的通用异构并行编程模型,满足了异构并行矩量法可跨节点对静态负载均衡的要求.数值结果表明,基于该并行编程模型设计的异构并行矩量法程序,可获得理想的加速比并具有良好的可扩展性.
To achieve the across-nodes technology of the heterogeneous parallel method of moments (MoM), a parallel MoM programming model is studied on CPU/GPU and CPU/MIC heterogeneous platforms. By utilizing the CONTEXT technology in the CUDA which contains the GPU common programming criterions, and the concept of environment variables in MIC, a general heterogeneous parallel programming model for the CPU/GPU and CPU/MIC is proposed, which meets the static load-balancing for the across-nodes heterogeneous parallel MoM. Numerical results show that the heterogeneous parallel MoM codes based on the proposed parallel programming model can obtain ideal speedup and good scalability.