摘要
随着多核处理器被广泛的应用于桌面系统,如何充分利用多核处理器的计算能力,挖掘应用程序的并行性,以充分发挥多核系统的强大计算能力,成为近几年国内外计算机领域研究的热点,多核系统并行程序设计也成为所有专业软件开发人员必须了解和掌握的一项技术.本文阐述了一种以OpenMP为基础的多核并行程序设计方法,研究并提出了两种符合多核系统并行程序设计特征的编程模式:条件同步模式和线程分组竞争模式.实验证明这些方法简单高效.
With the development of multi-core processor widely used in desktop system, how to make full use of multi-core computing power, mining application in parallel, to give full play to the powerful computing ability of multi-core system, becomes the hot point of the domestic and foreign computer field in recent years. Multi-core system parallel programming has become a technology that all professional software developers must understand and master. This paper describes a OpenMP based on multi-core parallel program design methods, and puts forward two kinds of nuclear system with multiple parallel program design feature programming mode:condition synchronization mode and thread grouping competition mode. Experiments prove that the method is simple and efficient.
出处
《南华大学学报(自然科学版)》
2013年第1期64-68,共5页
Journal of University of South China:Science and Technology
基金
2011年湖南省教育厅科研课题基金资助项目(11C1097)
2011年衡阳市科技局课题基金资助项目(2011KG61)
2011年南华大学高等教育研究与改革立项基金资助项目(2011XJG025)
2012年南华大学高等教育研究与改革立项基金资助项目(2012XJG15)