Litcius/Paper detail

Tools for top-down performance analysis of GPU-accelerated applications

Keren Zhou, Mark W. Krentel, John Mellor‐Crummey

202024 citationsDOIOpen Access PDF

Abstract

This paper describes extensions to Rice University's HPCToolkit performance tools to support measurement and analysis of GPU-accelerated applications. To help developers understand the performance of accelerated applications as a whole, HPCToolkit's measurement and analysis tools attribute metrics to calling contexts that span both CPUs and GPUs. To measure GPU-accelerated applications efficiently, HPCToolkit employs a novel wait-free data structure to coordinate monitoring and attribution of GPU performance metrics. To help developers understand the performance of complex GPU code generated from high-level programming models, HPCToolkit's hpcprof constructs sophisticated approximations of call path profiles for GPU computations. To support fine-grain analysis and tuning, HPCToolkit attributes GPU performance metrics to source lines and loops. Also, HPCToolkit uses GPU PC samples to derive and attribute a collection of useful GPU performance metrics. We illustrate HPCToolkit's new capabilities for analyzing GPU- accelerated applications with three case studies.

Topics & Concepts

Computer scienceGeneral-purpose computing on graphics processing unitsParallel computingComputationCUDASupercomputerCode (set theory)Computational scienceGraphicsComputer graphics (images)Programming languageSet (abstract data type)Parallel Computing and Optimization TechniquesAdvanced Data Storage TechnologiesCloud Computing and Resource Management