The Radeon Compute Profiler (RCP) is a performance analysis tool that gathers data from the API run-time and GPU for OpenCLâ„¢ and ROCm/HSA applications. This information can be used by developers to discover bottlenecks in the application and to find ways to optimize the application's performance.
Hi, I have a python script that calls HSA kernels, and I want to profile this script.
Ideally, I want to do something like:
$ rocm-profiler -A -w . python style_transfer.py
But I am getting this error message at the moment:
Process failed to run. Make sure you have specified the correct path.
Is there a way to do what I want?
It seems CodeXL can profile python scripts, by specifying the executable name as "python" and setting the script name to the command line argument.