摘要
结合最新的并行计算技术,基于VS2012搭建了Open MP、MPI、C++AMP、CUDA 6.0等四个并行实验平台,并对不同实验平台实现PI值计算。实验结果说明这种并行计算环境具有良好的性能与可扩展性;Open MP与MPI等CPU计算加速效果与CPU内核数目成比例,C++AMP与CUDA 6.0等GPU计算加速效果与GPU物理计算核心数目成正比;同等条件下GPU物理计算核心数目远多于CPU核心数目,用GPU进行计算往往可获得更高的性价比。
This article calculates the PI value based on OpenMP,MPI,C + + AMP,CUDA6.0 in VS2012 environment using the least parallel computing technology. The results verify that this parallel platform is effective and scalable. The acceleration efficiency of OpenMP and MPI of CPU' s computing relies on the numbers of CPU' s cores. At the same time, the acceleration efficiency of C + + AMP and CUDA 6.0 of the GPU computing relies on the numbers of physical computing cores. At the same condition, the number of GPU' s cores is much larger than that of CPU. So it can get a higher acceleration by using GPU computing instead of CPU computing.
出处
《实验室研究与探索》
CAS
北大核心
2015年第2期125-127,共3页
Research and Exploration In Laboratory
基金
山东省自然科学基金(ZR2013DM015)
中国石油大学(华东)教改项目(JY-B201455)