7462

OpenCL vs. OpenMP: A Programmability Debate

Jie Shen, Jianbin Fang, Ana Lucia Varbanescu, Henk Sips
Department of Computer Science, Delft University of Technology, The Netherlands
16th Workshop on Compilers for Parallel Computing (CPC’12), 2012
@inproceedings{shen2012opencl,

   author={Jie Shen and Jianbin Fang and Ana Lucia Varbanescu and Henk Sips},

   title={OpenCL vs. OpenMP: A Programmability Debate},

   booktitle={Proceedings of the 16th Workshop on Compilers for Parallel Computing (CPC’12)},

   publisher={This paper has been presented in CPC’12 (http://aacse.dei.unipd.it/cpc2012/). No proceedings are published for the CPC Workshops},

   year={2012},

   month={January},

   location={Padova, Italy},

   url={http://www.pds.ewi.tudelft.nl/fileadmin/pds/homepages/shenjie/papers/CPC2012.pdf},

   topic={Parallel Programming},

   group={PDS}

}

Download Download (PDF)   View View   Source Source   

1516

views

OpenCL and OpenMP are the most commonly used programming models for homogeneous multi-core processors. They are also fundamentally different in their approach to parallelization, in terms of granularity level, explicit/implicit constructs, and usability. In this paper, we compare these two models in terms of programmability, with a special focus on performance and productivity. For our comparison, we use eleven applications from the Rodinia 2.0 benchmark, and we show the differences between their OpenCL and OpenMP implementations. Our experimental results, collected on three different hardware platforms, show that the performance ratio between the two approaches can vary significantly depending on the application, platform, and dataset characteristics. Therefore, we argue that the choice between OpenCL and OpenMP should be driven by application characterization and the overall goals of the programmers.
VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

* * *

* * *

Like us on Facebook

HGPU group

151 people like HGPU on Facebook

Follow us on Twitter

HGPU group

1252 peoples are following HGPU @twitter

* * *

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: AMD/ATI Radeon HD 5870 2GB, 850MHz
  • 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: AMD APP SDK 2.9
Node 2
  • GPU device 0: AMD/ATI Radeon HD 7970 3GB, 1000MHz
  • GPU device 1: nVidia GeForce GTX 560 Ti 2GB, 822MHz
  • CPU: Intel Core i7-2600 @ 3.4GHz
  • RAM: 16GB
  • OS: OpenSUSE 12.2
  • SDK: nVidia CUDA Toolkit 6.0.1, AMD APP SDK 2.9

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-2014 hgpu.org

All rights belong to the respective authors

Contact us: