In this video, Sajeeth, a developer of ROCm Optiq, introduces the tool as a desktop application designed for visualizing and analyzing data from ROCm profilers. Optiq transforms profiling traces into an interactive timeline that displays activity across every CPU thread and GPU queue. It also consolidates Compute Profiler results into charts and tables, helping users understand where their application spends time and how effectively it utilizes the GPU. The video begins by demonstrating how to open a trace file, either through the welcome page or by dragging files directly into the application. Multiple traces can be opened simultaneously in separate tabs for easy switching.
Next, the video provides a quick overview of the Optiq workspace. The top menu bar includes file, edit, view, and help options, while the toolbar below offers controls such as control flow arrows, event search, bookmarks, measure mode, minimap, and reset view. The left panel displays the system topology, listing hardware and software components from nodes and processors down to queues, processes, and threads. The timeline overview at the top charts activity across the entire trace, with the main timeline below showing detailed events and counters for each track. At the bottom, an advanced details panel offers in-depth information about selected events, tracks, and annotations, and a status bar runs along the bottom edge.
The video then explains how to navigate the timeline using both keyboard and mouse controls. Users can zoom in and out with the W and S keys or the mouse scroll wheel, pan left and right with A and D keys or by dragging the graph area, and scroll through tracks using the up and down arrow keys or the mouse wheel over the description area. The timeline overview highlights the current viewable section of the trace, which can be adjusted by dragging the highlight. Hovering over track names reveals additional details such as full names, track IDs, and event counts. The reset view button quickly returns the timeline to show the entire trace.
Following navigation, the video explores the system topology panel in detail. This panel organizes all tracks in a hierarchical tree that mirrors the profiled system, including nodes, processors, GPUs with their queues and counters, and CPUs. Users can expand or collapse branches, hide or show individual tracks or entire branches, and select tracks to highlight them in the timeline. Right-click context menus provide options to isolate a track by hiding others, show all tracks, or scroll directly to a specific track. The software section lists processes, threads, and HIP streams, with streams representing how GPU work was submitted and queues showing where the work actually executed.
In conclusion, the video offers a comprehensive introduction to opening traces, understanding the workspace layout, navigating the timeline, and using the system topology panel in ROCm Optiq. These foundational skills enable users to efficiently explore profiling data and prepare for more advanced tasks. The video ends by previewing the next tutorial, which will focus on working with tracks, events, and time ranges within Optiq.
Useful Links
- ROCm Optiq Official Documentation - How to View a Trace — Directly explains how to open and navigate traces in ROCm Optiq, central to the video’s main content.