2010 · 69 citations · 18 references
ComputingComputer EngineeringComputer ScienceCompilersComputer GraphicsParallel ComputingData ParallelismGraphics Processing Unit ArchitectureGraphics Processing Unit ComputingGraphics Processing UnitsParallel Performance AnalysisPerformance Bottleneck AnalysisCompile-time OptimizationCompiler DesignGpgpu ProgrammingGpu ArchitectureGpu Programming ModelsLoop UnrollingMany-core ProcessorsMemory Bandwidth
Graphics Processing Units (GPUs) are massively parallel, many-core processors with tremendous computational power and very high memory bandwidth. With the advent of general purpose programming models such as NVIDIA's CUDA and the new standard OpenCL, general purpose programming using GPUs (GPGPU) has become very popular. However, the GPU architecture and programming model have brought along with it many new challenges and opportunities for compiler optimizations. One such classical optimization is loop unrolling. Current GPU compilers perform limited loop unrolling. In this paper, we attempt to understand the impact of loop unrolling on GPGPU programs. We develop a semi-automatic, compile-time approach for identifying optimal unroll factors for suitable loops in GPGPU programs. In addition, we propose techniques for reducing the number of unroll factors evaluated, based on the characteristics of the program being compiled and the device being compiled to. We use these techniques to evaluate the effect of loop unrolling on a range of GPGPU programs and show that we correctly identify the optimal unroll factors. The optimized versions run up to 70 percent faster than the unoptimized versions.
18
Scalable parallel programming with CUDA
John Nickolls, Ian Buck, Michael Garland et al. · 2008 · 1.6K citations
NVIDIA cuda software and gpu parallel computing architecture
David B. Kirk · 2007 · 431 citations · Full text
Program optimization space pruning for a multithreaded gpu
Shane Ryoo, Christopher Rodrigues, Sam S. Stone et al. · 2008 · 290 citations
David Luebke, Mark Harris, Jens Krüger et al. · 2004 · 228 citations