Volume 7 Number 2 (Apr. 2015)
Home > Archive > 2015 > Volume 7 Number 2 (Apr. 2015) >
IJCEE 2015 Vol.7(2): 109-117 ISSN: 1793-8163
DOI: 10.17706/IJCEE.2015.V7.877

Compiler Support for Accelerating C++11 Range-Based Loops on Heterogeneous Systems

Chaturapat Suwancharoen, Worawan Marurngsith
Abstract—Using directive techniques for accelerating loops on heterogeneous systems, object-oriented programs can be hundreds of folds faster with a short learning curve required from programmers. Despite much research on various loop parallelization techniques, the opportunity to accelerate a compact construct like range-based loops using directive-based compilers has not yet been investigated. The paper addresses this issue and presents directive-based compiler techniques for accelerating range-based loops using OpenCL. The experimental results based on two workloads show the speedup of 3-135 folds achieved from accelerating range-based loops using the proposed compiler. The literature review depicts an average of 12–135 folds speedup gain by using traditional loop acceleration by existing directive-based compilers. This highlights the potential of exploiting loop-level parallelism by using range-based loop acceleration.

Index Terms—Loop parallelization, GPU, OpenCL, compiler, C++, acceleration, heterogeneous systems.

Department of Computer Science, Thammasat University, Pathum Thani, Thailand.

Cite:Chaturapat Suwancharoen, Worawan Marurngsith, "Compiler Support for Accelerating C++11 Range-Based Loops on Heterogeneous Systems," International Journal of Computer and Electrical Engineering vol. 7, no. 2, pp. 109-117, 2015.

General Information

ISSN: 1793-8163 (Print)
Abbreviated Title: Int. J. Comput. Electr. Eng.
Frequency: Quarterly
Editor-in-Chief: Prof. Yucong Duan
Abstracting/ Indexing: INSPEC, Ulrich's Periodicals Directory, Google Scholar, EBSCO, ProQuest, and Electronic Journals Library
E-mail: ijcee@iap.org

What's New

  • Jun 03, 2019 News!

    IJCEE Vol. 9, No. 2 - Vol. 10, No. 2 have been indexed by EI (Inspec) Inspec, created by the Institution of Engineering and Tech.!   [Click]

  • May 13, 2020 News!

    IJCEE Vol 12, No 2 is available online now   [Click]

  • Mar 04, 2020 News!

    IJCEE Vol 12, No 1 is available online now   [Click]

  • Dec 11, 2019 News!

    The dois of published papers in Vol 11, No 4 have been validated by Crossref

  • Oct 11, 2019 News!

    IJCEE Vol 11, No 4 is available online now   [Click]

  • Read more>>