2012 · 381 citations · 46 references
ComputingComputer ScienceHigh-performance ComputingAlgorithmsComputer GraphicsParallel ComputingControl-flow AnalysisData-flow AnalysisGraphics Processing Unit ComputingHardware AccelerationMemory Hierarchy OptimizationControl Flow ControlGpu Performance ProfilingGpu ProfilingKernel OptimizationMemory Access PatternsMemory LocalityPrecisionWarp-level Programming
GPUs have been used to accelerate many regular applications and, more recently, irregular applications in which the control flow and memory access patterns are data‑dependent and statically unpredictable. This paper defines two measures of irregularity—control‑flow irregularity and memory‑access irregularity—and investigates, using performance‑counter measurements, how irregular GPU kernels differ from regular kernels with respect to these measures. For a suite of 13 benchmarks, irregularity at the warp level varies widely, control‑flow and memory‑access irregularity are largely independent, most kernels exhibit some irregularity, irregularity can change with inputs, systems, and precision but generally remains in a specific region, and highly tuned implementations can reduce irregularity while trading extra irregularity for better locality or less work can improve overall performance.
GPUs have been used to accelerate many regular applications and, more recently, irregular applications in which the control flow and memory access patterns are data-dependent and statically unpredictable. This paper defines two measures of irregularity called control-flow irregularity and memory-access irregularity, and investigates, using performance-counter measurements, how irregular GPU kernels differ from regular kernels with respect to these measures. For a suite of 13 benchmarks, we find that (i) irregularity at the warp level varies widely, (ii) control-flow irregularity and memory-access irregularity are largely independent of each other, and (iii) most kernels, including regular ones, exhibit some irregularity. A program's irregularity can change between different inputs, systems, and arithmetic precision but generally stays in a specific region of the irregularity space. Whereas some highly tuned implementations of irregular algorithms exhibit little irregularity, trading off extra irregularity for better locality or less work can improve overall performance.
46
V. J. Rayward‐Smith, Thomas H. Cormen, Charles E. Leiserson et al. · Journal of the Operational Research Society · 1991 · 17K citations
A hierarchical O(N log N) force-calculation algorithm
Josh Barnes, Piet Hut · Nature · 1986 · 3.7K citations
Rodinia: A benchmark suite for heterogeneous computing
Shuai Che, Michael Boyer, Jiayuan Meng et al. · 2009 · 3K citations
A Survey of General‐Purpose Computation on Graphics Hardware
John D. Owens, David Luebke, Naga K. Govindaraju et al. · Computer Graphics Forum · 2007 · 2K citations
Analyzing CUDA workloads using a detailed GPU simulator
Ali Bakhoda, George L. Yuan, Wilson Wai Lun Fung et al. · 2009 · 1.7K citations