Use the following commands to collect the GPU Trace data
- GPU Trace
collection
AMDuProfCLI collect –trace gpu -o <output-dir> <application>
These commands will launch the program and collect the trace data. Once the launched application is executed, the AMDuProfCLI will display the session directory path in which the raw profile data is saved.
Refer Table 1 for all supported options.
Example
[bin]$ ./AMDuProfCLI collect --trace gpu -o /tmp/ /tmp/namd
Profiling started
………
Profiling (data collection) completed
Generated data files path: /tmp/AMDuProf-namd-GpuTrace_Sep-05-2024_21-43-08
Here, the generated session directory is /tmp/AMDuProf-namd-GpuTrace_Sep-05-2024_21-43-08.