Comparative study of parallel programming models for multicore computing

Akhtar Ali
Department of Computer and Information Science, Linkoping University, The Institute of Technology
Linkoping University, 2013

   title={Comparative study of parallel programming models for multicore computing},

   author={Ali, Akhtar},



Download Download (PDF)   View View   Source Source   



Shared memory multi-core processor technology has seen a drastic development with faster and increasing number of processors per chip. This new architecture challenges computer programmers to write code that scales over these many cores to exploit full computational power of these machines. Shared-memory parallel programming paradigms such as OpenMP and Intel Threading Building Blocks (TBB) are two recognized models that offer higher level of abstraction, shields programmers from low level details of thread management and scales computation over all available resources. At the same time, need for high performance power-efficient computing is compelling developers to exploit GPGPU computing due to GPU’s massive computational power and comparatively faster multi-core growth. This trend leads to systems with heterogeneous architectures containing multicore CPUs and one or more programmable accelerators such as programmable GPUs. There exist different programming models to program these architectures and code written for one architecture is often not portable to another architecture. OpenCL is a relatively new industry standard framework, defined by Khronos group, which addresses the portability issue. It offers a portable interface to exploit the computational power of a heterogeneous set of processors such as CPUs, GPUs, DSP processors and other accelerators. In this work, we evaluate the effectiveness of OpenCL for programming multi-core CPUs in a comparative case study with two CPU specific stable frameworks, OpenMP and Intel TBB, for five benchmark applications namely matrix multiply, LU decomposition, image convolution, Pi value approximation and image histogram generation. The evaluation includes a performance comparison of the three frameworks and a study of the relative effects of applying compiler optimizations on performance numbers. OpenCL performance on two vendor-dependent platforms Intel and AMD, is also evaluated. Then the same OpenCL code is ported to a modern GPU and its code correctness and performance portability is investigated. Finally, usability experience of coding using the three multi-core frameworks is presented.
VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

* * *

* * *

Follow us on Twitter

HGPU group

1584 peoples are following HGPU @twitter

Like us on Facebook

HGPU group

299 people like HGPU on Facebook

* * *

Free GPU computing nodes at hgpu.org

Registered users can now run their OpenCL application at hgpu.org. We provide 1 minute of computer time per each run on two nodes with two AMD and one nVidia graphics processing units, correspondingly. There are no restrictions on the number of starts.

The platforms are

Node 1
  • GPU device 0: nVidia GeForce GTX 560 Ti 2GB, 822MHz
  • GPU device 1: AMD/ATI Radeon HD 6970 2GB, 880MHz
  • CPU: AMD Phenom II X6 @ 2.8GHz 1055T
  • RAM: 12GB
  • OS: OpenSUSE 13.1
  • SDK: nVidia CUDA Toolkit 6.5.14, AMD APP SDK 3.0
Node 2
  • GPU device 0: AMD/ATI Radeon HD 7970 3GB, 1000MHz
  • GPU device 1: AMD/ATI Radeon HD 5870 2GB, 850MHz
  • CPU: Intel Core i7-2600 @ 3.4GHz
  • RAM: 16GB
  • OS: OpenSUSE 12.3
  • SDK: AMD APP SDK 3.0

Completed OpenCL project should be uploaded via User dashboard (see instructions and example there), compilation and execution terminal output logs will be provided to the user.

The information send to hgpu.org will be treated according to our Privacy Policy

HGPU group © 2010-2015 hgpu.org

All rights belong to the respective authors

Contact us: