OpenCL on shared memory multicore CPUs
2012 (English)In: Proc. MULTIPROG-2012 Workshop at HiPEAC-2012 / [ed] E. Ayguade, B. Gaster, L. Howes, P. Stenström, O. Unsal, HiPEAC Network of Excellence , 2012Conference paper (Refereed)
Shared memory multicore processor technology is pervasive in mainstream computing. This new architecture challenges programmers to write code that scales over these many cores to exploit the full computational power of these machines. OpenMP and Intel Threading Building Blocks (TBB) are two of the popular frameworks used to program these architectures. Recently, OpenCL has been defined as a standard by Khronos group which focuses on programming a possibly heterogeneous set of processors with many cores such as CPU cores, GPUs, DSP processors. In this work, we evaluate the effectiveness of OpenCL for programming multicore CPUs in a comparative case study with OpenMP and Intel TBB for five benchmark applications: matrix multiply, LU decomposition,2D image convolution, Pi value approximation and image histogram generation. The evaluation includes the effect of compiler optimizations for different frameworks, OpenCL performance on different vendors’ platformsand the performance gap between CPU-specific and GPU-specific OpenCL algorithms for execution on a modern GPU. Furthermore, a brief usability evaluation of the three frameworks is also presented.
Place, publisher, year, edition, pages
HiPEAC Network of Excellence , 2012.
parallel programming, parallel computing, benchmarking, GPU computing, multicore processor, OpenCL, Threading Building Blocks (TBB), OpenMP
IdentifiersURN: urn:nbn:se:liu:diva-93951OAI: oai:DiVA.org:liu-93951DiVA: diva2:628242
Fifth Workshop on Programmability Issues for Heterogeneous Multicores (MULTIPROG-2012) at HiPEAC-2012, Paris, Jan. 2012
ProjectsEU FP7 PEPPHER (2010-2012), #248481, www.peppher.eu