You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 5, 2023. It is now read-only.
|This command line tool is implemented as a script which is setting up
18
-
the environment for attaching the profiler and then run the provided
19
-
application command line. The tool uses two profiling plugins loaded
20
-
by ROC runtime and based on rocProfiler and rocTracer for collecting
21
-
metrics/counters, HW traces and runtime API/activity traces. The tool
22
-
consumes an input XML or text file with counters list or trace
23
-
parameters and provides output profiling data and statistics in
24
-
various formats as text, CSV and JSON traces. Google Chrome tracing
25
-
can be used to visualize the JSON traces with runtime API/activity
26
-
timelines and per kernel counters data.
17
+
|This command line tool is implemented as a script which is setting up the environment for attaching the profiler and then run the provided
18
+
application command line. The tool uses two profiling plugins loaded by ROC runtime and based on rocProfiler and rocTracer for collecting
19
+
metrics/counters, HW traces and runtime API/activity traces. The tool consumes an input XML or text file with counters list or trace
20
+
parameters and provides output profiling data and statistics in various formats as text, CSV and JSON traces. Google Chrome tracing
21
+
can be used to visualize the JSON traces with runtime API/activity timelines and per kernel counters data.
22
+
23
+
24
+
**NOTE**: You must set the ‘PATH’ environment variable to the ROCM bin directory. This enables the profiler to find the correct ROCm setup and get ROCm info metadata. For example, *“export PATH=$PATH:/opt/rocm/bin”*.
27
25
28
26
Profiling Modes
29
27
***************
30
28
31
29
‘rocprof’ can be used for GPU profiling using HW counters and
0 commit comments