论文部分内容阅读
目前主流CPU厂商都在致力发展多核处理器,增加芯片支持的并行能力,从而突破技术壁垒,提升运算速度。本文主要探讨近来流行的多核计算技术,介绍一种重要的工业标准OpenMP,以及对基于OpenMP的并行编程模式进行剖析。OpenMP编程主要是通过软件多线程来提升PC应用软件的功能和性能。随后以遗传算法求解TSP问题为例子实现了OpenMP多线程应用程序。
The current mainstream CPU manufacturers are committed to the development of multi-core processors, increasing the chip’s ability to support parallelism, so as to break through technical barriers and improve computing speed. This article mainly discusses the recent popular multi-core computing technology, introduces an important industry standard OpenMP, as well as the analysis based on OpenMP parallel programming mode. OpenMP programming mainly through software multi-threading to enhance the functionality and performance of PC applications. Then, the problem of genetic algorithm to solve TSP as an example to achieve the OpenMP multi-threaded applications.