2011 · 200 citations · 14 references
ComputingComputer ScienceHigh-performance ComputingCompilersComputer GraphicsParallel ComputingData-flow AnalysisGraphics Processing Unit ArchitectureGraphics Processing Unit ComputingGraphics Processing UnitsPerformance Bottleneck AnalysisPerformance OptimizationDivergenceKernel OptimizationReal-world Application
Branch divergence has a significant impact on the performance of GPU programs. We propose two novel software-based optimizations, called iteration delaying and branch distribution that aim to reduce branch divergence. Iteration delaying targets a divergent branch enclosed by a loop within a kernel. It improves performance by executing loop iterations that take the same branch direction and delaying those that take the other direction until later iterations. Branch distribution reduces the length of divergent code by factoring out structurally similar code from the branch paths. We conduct a preliminary evaluation of the two optimizations using both synthetic benchmarks and a highly-optimized real-world application. Our evaluation shows that they improve the performance of the synthetic benchmarks by as much as 30% and 80% respectively, and that of the real-world application by 12% and 16% respectively.
14
NVIDIA Tesla: A Unified Graphics and Computing Architecture
Erik Lindholm, John Nickolls, Stuart F. Oberman et al. · IEEE Micro · 2008 · 1.3K citations
Seyong Lee, Seung-Jai Min, Rudolf Eigenmann · 2009 · 413 citations
A GPGPU compiler for memory optimization and parallelism management
Yi Yang, Ping Xiang, Jingfei Kong et al. · 2010 · 276 citations · Full text
Compiler techniques for code compaction
Saumya Debray, William Evans, Robert Muth et al. · ACM Transactions on Programming Languages and Systems · 2000 · 275 citations · Full text