多核 CPU 在当前已成为 PC 机的常规配置,为了充分发挥 PC 机的性能,以提高应用软件的运行速度,本文针对如何在多核 CPU 上实现并行计算进行了研究,将其应用到薄层水流流速参数的虚拟正态边界模型计算中.经实例测试验证,采用双核、四核并行计算的模型求解速度分别是单核情况下的1.4倍、2.4倍,核心数越多,倍数越大.%In the current, Multi-core CPU has become the general configuration of the PC. In order to give full play to the performance of the PC and improve the running speed of application software, how to parallel computing on the multi-core CPU is studied in this paper. The research is applied into the calculation of shallow water flow velocity measurement model with virtual boundary condition. The test result showed that the running speed on dual-core CPU and on quad-core CPU is 1.4 times and 2.3 times faster than that on the single-core CPU, which indicates the more the number of cores, the greater the multiplies.
展开▼