A Quantitative Study of Irregular Programs on GPUs
Texas State University, San Marcos, Texas, USA
IEEE International Symposium on Workload Characterization (IISWC’12), 2012
@article{burtscher2012quantitative,
title={A Quantitative Study of Irregular Programs on GPUs},
author={Burtscher, M. and Nasre, R. and Pingali, K.},
year={2012}
}
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.
September 23, 2012 by hgpu