ROCm / rocprofiler

ROC profiler library. Profiling with perf-counters and derived metrics.
https://rocm.docs.amd.com/projects/rocprofiler/en/latest/
Other
119 stars 45 forks source link

Host to Device transfer #14

Closed MatPoliquin closed 4 years ago

MatPoliquin commented 4 years ago

Is there a way to profile Host to Device transfers like for nvidia profiler?

nwolfey21 commented 4 years ago

@MatPoliquin, as of ROCm 3.0, run: $ /opt/rocm/bin/rocprof --hsa-trace <appWithArguments> The result will be a results.json file in your working directory that you can load in chrome://tracing in your chrome browser. The .json trace will display copies, HSA signals and kernel calls. Additionally, a results_mcopy.csv file will be generated in your working directory with the specifics of the transfers.

eshcherb commented 4 years ago

@MatPoliquin, could you close the ticket?