Back to search

The Ohio State University

Optimal Loop Unrolling for GPGPU Programs

Abstract

dc:description

<p>Graphics Processing Units (GPUs) are massively parallel, many-coreprocessors with tremendous computational power and very high memorybandwidth. GPUs are primarily designed for accelerating 3D graphicsapplications on modern computer systems and are therefore, specializedfor highly data parallel, compute intensive problems, unlikegeneral-purpose CPUs. In recent times, there has been significantinterest in finding ways to accelerate general purpose (non-graphics),data parallel computations using the high processing power of GPUs.General-purpose Programming on GPUs (GPGPU) was earlier considereddifficult because the only available techniques to program the GPUs weregraphics-specific programming models such as OpenGL and DirectX.However, with the advent of GPGPU programming models such as NVIDIA'sCUDA and the new standard OpenCL, GPGPU has become mainstream.</p><p>Optimizations performed by the compiler play a very important role inimproving the performance of computer programs. While compileroptimizations for CPUs have been researched for many decades now, thearrival of GPGPU, and it's differences in architecture and programmingmodel, has brought along with it many new opportunities for compileroptimizations. One such classical optimization is 'Loop Unrolling'. Loopunrolling has proven to be a relatively inexpensive and beneficialoptimization for CPU programs. However, current GPGPU compilers performlittle to no loop unrolling.</p><p>In this thesis, we attempt to understand the impact of loop unrolling onGPGPU programs and using this understanding, we develop asemi-automatic, compile-time approach for identifying optimal unrollfactors for suitable loops in GPGPU programs. In addition, we alsopropose techniques for reducing the number of unroll factors evaluated,based on the characteristics of the program being compiled and thedevice being compiled to. We use these techniques to evaluate theeffect of loop unrolling on a range of GPGPU programs and show that wecorrectly identify the optimal unroll factors, and that these optimizedversions achieve speedups of up to nearly 1.5, relative to the unoptimizedversion.</p>

Degree

thesis:*
Name thesis:degree_name
Master of Science
Level thesis:degree_level
masters
Discipline thesis:degree_discipline
Computer Science and Engineering
Grantor dc:publisher
The Ohio State University
Year dc:date
2009

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Sreenivasa Murthy, Giridhar
Advisor dc:contributor.advisor
  • Sadayappan, Ponnuswamy

Subjects

dc:subject × 5

Rights

dc:rights
Statement dc:rights
  • unrestricted
  • This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
OhioLINK
Base URL
etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Sreenivasa Murthy, Giridhar. Optimal Loop Unrolling for GPGPU Programs. masters thesis, The Ohio State University, 2009. http://rave.ohiolink.edu/etdc/view?acc_num=osu1253131903