OpenMP-Based Parallel Algorithms for Pi on Multi-Core Platform
Zhi Jun Gao · Advanced materials research · 2012
To take full advantage of multi-core processor resources, this paper examines the multi-core platform using OpenMP implementation of two kinds of pi parallel algorithms, numerical integration and Monte Carlo. The experimental results show that optimized algorithm with the OpenMP pragmas compared with the serial code has been improved speed significantly, also achieved satisfactory speedup and parallel efficiency that effectively improve the utilization of computer resources of the multi-core, parallel algorithm for the realization of Pi provides a new way of thinking.