PerfStudio2 GDC 2011 - Wide

Download Report

Transcript PerfStudio2 GDC 2011 - Wide

OPTIMIZING AND DEBUGGING GRAPHICS APPLICATIONS WITH AMD'S GPU PERFSTUDIO 2.5

GPG Developer Tools

Gordon Selley Peter Lohrmann GDC 2011

GPU PERFSTUDIO 2 - OVERVIEW

 Introduction to PerfStudio – Quick overview of the key tools and features.

 Demo Support for Multithreaded DX11 Applications – Visualizing the structure of applications that use command lists and deferred contexts .

– Debug the contents of command lists using flattening.

 Demo Editing and Optimizing Shaders – The use of the shader editor and profiler to increase shader performance.

2 | GPU PerfStudio 2.5 | March 03, 2011 | Public

GPU PERFSTUDIO 2 - INTRODUCTION

 What is GPU PerfStudio 2?

– GPU PerfStudio 2 is AMD ’ s current GPU Performance Analysis & Debugging Tool for graphics applications  Key Features – Supports OpenGL 3.0, DirectX®10 & 10.1, DirectX®11 – Works on all vendor hardware (Profiler AMD only) – Server - Win7, Vista (32 and 64bit versions) – Client – Win7, Vista, XP.

– No custom driver requirements – Small footprint – no installation – No modifications to target application necessary – Free download http://developer.amd.com/gpu/PerfStudio

3 | GPU PerfStudio 2.5 | March 03, 2011 | Public

3

GPU PERFSTUDIO 2 – THE TOOLS

 Frame Debugger – Select a draw call – View all game resources/state bound to the pipeline  Frame Profiler – Identify costly draw calls – Identify GPU bottlenecks, investigate at the counter level  Shader Debugger/Editor – Edit & Debug HLSL and Assembly code from inside an app – Step, breakpoints, inspect register values.

 API Trace Viewer – Inspect all API calls (with arguments) – Visualize multi-threaded API usage – CPU timeline information for each API call

4 | GPU PerfStudio 2.5 | March 03, 2011 | Public

GPU PERFSTUDIO 2.5 - INTRODUCTION

 What ’ s new in GPU PerfStudio 2.5?

 Improved API Trace viewer – Visualize DX11 multi-threaded command list creation – Inspect API calls per thread – Draw call flattening  New - HLSL shader editing and re-insertion – Allows the developer to edit shaders inside their app while it is running.

– Profile edited shaders to measure performance increases.

5 | GPU PerfStudio 2.5 | March 03, 2011 | Public

GPU PERFSTUDIO 2.5 DEMONSTRATION

 MultiThreadedRendering11 – Shader code is original – Shaders compiled with debug flags – Added some PerfMarkers

6 | GPU PerfStudio 2.5 | March 03, 2011 | Public

GPU PERFSTUDIO 2 AVAILABILITY

 Download GPU PerfStudio 2.4 now from – http://developer.amd.com/gpu/PerfStudio/  PerfStudio 2.5 available end of March 2011  Free to all developers

7 | GPU PerfStudio 2.5 | March 03, 2011 | Public

OTHER AMD GPU TOOLS

 Available at: http://developer.amd.com/gpu – GPU ShaderAnalyzer – GPU Perf API – AMD APP Profiler – AMD APP KernelAnalyzer

8 | GPU PerfStudio 2.5 | March 03, 2011 | Public

CONTACT

 Email – [email protected]

[email protected]

[email protected]

 Developer forums – http://forums.amd.com/devforum/  Visit AMD Booth 924

9 | GPU PerfStudio 2.5 | March 03, 2011 | Public

QUESTIONS?

10 | GPU PerfStudio 2.5 | March 03, 2011 | Public

Trademark Attribution

AMD, the AMD Arrow logo and combinations thereof are trademarks of Advanced Micro Devices, Inc. in the United States and/or other jurisdictions. Other names used in this presentation are for identification purposes only and may be trademarks of their respective owners. ©2011 Advanced Micro Devices, Inc. All rights reserved.

11 | GPU PerfStudio 2.5 | March 03, 2011 | Public