The Comparisons of OpenCL and OpenMP Computing Paradigm
Department of Information and Computer Engineering, Chung Yuan Christian University, Chung Li, 32023, Taiwan
Applied Mathematics & Information Sciences, 8, No. 1L, 333-340, 2014
@article{chu2014comparisons,
title={The Comparisons of OpenCL and OpenMP Computing Paradigm},
author={Chu, Slo-Li and Hsiao, Chih-Chieh},
journal={Appl. Math},
volume={8},
number={1L},
pages={333–340},
year={2014}
}
Graphics processing units (GPUs) in a computer system are increasingly adopted to create a realistic environment in 3D applications. Despite the extremely high parallelism of these devices with a tremendous amount of processing elements, GPUs are seldom used in scientific applications owing to their difficulty in programming. Additionally, vendor-provided APIs are too specific to cross platform. An open standard, OpenCL, has subsequently been developed to provide universal APIs and programming paradigms for various GPUs. This work demonstrates the capabilities of OpenCL with several platforms, based on a preliminary example. The proposed benchmarks with different attributes are implemented by OpenMP and OpenCL sequentially to compare their differences. The benchmarks are then targeted on several GPUs and conventional servers. Experimental results indicate that inexpensive GPUs perform better than servers if OpenCL paradigms are adopted.
December 9, 2013 by hgpu