PofoliaShared via Pofolia

· 2012

A quantitative study of irregular programs on GPUs

Martin Burtscher, Rupesh Nasre, Keshav Pingali

Short summary

New metrics reveal that most GPU kernels, even seemingly regular ones, exhibit some control-flow or memory-access irregularity, which can be traded for performance.

AI-generated from the title and abstract; the full text is not read.

Key points

  • Introduced quantitative measures for control-flow and memory-access irregularity on GPUs.
  • Found that irregularity varies widely at the warp level across benchmarks.
  • Control-flow and memory-access irregularity are largely independent.
  • Most GPU kernels, including regular ones, exhibit some degree of irregularity.
  • Performance can be improved by trading off irregularity for better locality or reduced work.

AI-generated from the title and abstract; the full text is not read.

Abstract

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.

The authors' abstract, as published at the source., 2012 · DOI ↗

TakeawaysPremium
Ask the paperFree account

Continue with a free account

Ask the paper: 3 free questions a day about this paper; save it, get its citation, new summaries every day for your field. Takeaways are Premium.

Continue free on the web

Sign in with Google or Apple; no card needed. You come back to this paper.

On your phone:

Field: Hardware and Architecture

Hardware and ArchitectureComputer Science