Flexible Software Profiling of GPU Architectures
NVIDIA
42nd International Symposium on Computer Architecture, Portland, 2015
@article{stephenson2015flexible,
title={Flexible Software Profiling of GPU Architectures},
author={Stephenson, Mark and Hari, Siva Kumar Sastry and Lee, Yunsup and Ebrahimi, Eiman and Johnson, Daniel R and Nellans, David and O’Connor, Mike and Keckler, Stephen W},
year={2015}
}
To aid application characterization and architecture design space exploration, researchers and engineers have developed a wide range of tools for CPUs, including simulators, profilers, and binary instrumentation tools. With the advent of GPU computing, GPU manufacturers have developed similar tools leveraging hardware profiling and debugging hooks. To date, these tools are largely limited by the fixed menu of options provided by the tool developer and do not offer the user the flexibility to observe or act on events not in the menu. This paper presents SASSI (NVIDIA assembly code "SASS" Instrumentor), a low-level assembly-language instrumentation tool for GPUs. Like CPU binary instrumentation tools, SASSI allows a user to specify instructions at which to inject user-provided instrumentation code. These facilities allow strategic placement of counters and code into GPU assembly code to collect user-directed, fine-grained statistics at hardware speeds. SASSI instrumentation is inherently parallel, leveraging the concurrency of the underlying hardware. In addition to the details of SASSI, this paper provides four case studies that show how SASSI can be used to characterize applications and explore the architecture design space along the dimensions of instruction control flow, memory systems, value similarity, and resilience.
April 25, 2015 by hgpu