GPUOpen-Tools / radeon_gpu_profiler

Radeon GPU Profiler (RGP) is a tool from AMD that allows for deep inspection of GPU workloads.
396 stars 41 forks source link

[QA] How to tell if radeon gpu profiler is running in c++ code? #97

Open qiji2023 opened 10 months ago

qiji2023 commented 10 months ago

I want to know if radeon gpu profiler is running Is there some environment variable or can indicate?

qiji2023 commented 10 months ago

@chesik-amd Can you help me?

chesik-amd commented 10 months ago

I checked with the driver and RDP teams, and it doesn't sound like there is a way to detect this from within the running application. We've captured this as an enhancement request.

qiji2023 commented 9 months ago

ok, thank you very much!

WoodyPWX commented 1 month ago

I checked with the driver and RDP teams, and it doesn't sound like there is a way to detect this from within the running application. We've captured this as an enhancement request.

Any news on this? Unity engine is only emitting perf. markers if PIX or Nsight are detected launching editor or a game build. I would like to add similar detection of RDTS. Currently I have a workaround. A custom cmdline argument enabling it manually, but it's annoying when I forget it and must restart the app.