Radeon™ GPU Profiler 1.11 released

Share on facebook
Share on twitter
Share on linkedin
Share on reddit
Share on email

The AMD Developer Tools team is pleased to announce a new version of the Radeon™ GPU Profiler (RGP).  

RGP is our ground-breaking low-level optimization tool that provides detailed information on Radeon™ GPUs.

This latest release – version 1.11 – offers several enhancements to our existing feature set:

  • Ray tracing call targets.

  • Cache counters.

And there’s more too! Read on to find out.

Ray tracing call targets

On the ray tracing front, there is a new feature available in the Instruction timing pane. When viewing instruction timing data for an <indirect> ray tracing event, you’ll now be able to visualize and follow the control flow when one shader in the ray tracing pipeline calls another one.  These calls are represented by a s_swappc instruction and the returns are represented by a s_setpc instruction.

When either of those instruction types with a non-zero hit count appears in the ISA view, a glyph appears next to that instruction.  This is an indication that the Details panel on the right will show a list of targets for the selected instruction.

  • For s_swappc , the targets are the functions that are called.
  • For s_setpc , the target shown is the caller function – i.e. the target that control will return to.

In the following screenshot, you can see this glyph next to the selected s_swappc_b64 instruction. You can also see the Call targets table in the Details panel:

In the above case, the s_swappc_b64 instruction has a Hit count of 2938 . In the Call targets list, you can see that of those 2938 hits, 2737 resulted in calls to the AnyHitMeshClipFromRed shader function, while the remaining 201 resulted in calls to the AnyHitIgnore shader function. 

You can also click any item in the Call targets list to quickly jump to that shader function.  When you do this, the main ISA pane will get updated to show the ISA for the newly-selected shader function.

Cache Counters enhancements

There have been a few minor enhancements to the Cache Counters features introduced in the previous RGP release. Previously, this feature was supported only for DirectX® 12 and Vulkan® applications.  With RGP v1.11, this feature is now also available for OpenCL applications. In order to use this feature with OpenCL, you’ll need to have a 21.20-based Adrenaline driver installed. Older drivers do not have the support required for OpenCL Cache Counter collection.

In addition, there has been a change to the Cache Counter tooltip that appears when the mouse hovers over the counter graphs.  Now when a region of the frame is selected, the tooltip will show aggregate values of the counters for the selected region. 

In the screenshot below, a region representing a single dispatch on the graphics queue is selected. The tooltip shows the cache hit percentages as well as the number of Requests, Hits, and Misses for the selected region.  Contrast this with the tooltip contents when there is no selection – in this case, the tooltip simply shows the counter value of the nearest counter timestamp.

Other improvements

  • Profile Load performance: There have been some significant performance enhancements made in RGP v1.11 to decrease the amount of time it takes to load profile data files (i.e. .rgp files).  While the loading speed can vary widely from one .rgp file to another, nearly all files should load faster in this release than they would have in previous releases.
  • Improved clipboard support: Several panes in RGP now have improved clipboard support. For instance, you can now multi-select ISA instructions in the Instruction timing pane, press Ctrl-C, and the selected set of instructions will be copied to the clipboard. Similarly, the Pipelines Overview pane now allows you to copy various data from the Pipelines table. Simply click any cell in the table, and press Ctrl-C to copy that cell’s contents to the clipboard.
  • New Qt version: This version of RGP uses a new version of Qt: version 5.15.2. This means it contains all the latest fixes and enhancements that have been made in Qt 5.x.

You can find out more about RGP, including download links the latest release notes list, on our product page.

As always, we love to get feedback and suggestions from developers.  If there is something you’d like to see in RGP or if you run into any issues, please let us know!

Further reading

Radeon™ GPU Profiler 1.7

The latest Radeon™ GPU Profiler (RGP) v1.7 release adds support for the latest Radeon™ graphics cards: the RX 5500/RX 5300 series, and adds new UI features to help you better understand your GPU workloads.

RGP

Radeon™ GPU Profiler

RGP gives you unprecedented, in-depth access to a GPU. Easily analyze graphics, async compute usage, event timing, pipeline stalls, barriers, bottlenecks, and other performance inefficiencies.

Chris Hesik
Chris Hesik is the Radeon™ GPU Profiler technical lead for the Developer Tools Group at AMD. Links to third party sites are provided for convenience and unless explicitly stated, AMD is not responsible for the contents of such linked sites and no endorsement is implied.

You may also like...

Some light reading to take away with you. Our ISAs, manuals, whitepapers, and many more.

Explore our huge collection of detailed tutorials, sample code, presentations, and documentation to find your answers to your graphics development questions.

Browse all our useful samples. Perfect for when you’re needing to get started, want to integrate one of our libraries, and much more.

Browse all our fantastic tutorials, including programming techniques, performance improvements, guest blogs, and how to use our tools.