ROCm / omnitrace

Omnitrace: Application Profiling, Tracing, and Analysis
https://rocm.docs.amd.com/projects/omnitrace/en/latest/
MIT License
297 stars 27 forks source link

omnitrace-avail fails with GFXIP is not supported(gfx90c) #332

Closed benrichard-amd closed 5 months ago

benrichard-amd commented 7 months ago

This seems to be an issue in rocprof. Is there a way omnitrace-avail can ignore this error from rocprof? On this machine I am unable to disable the unsupported GPU, so the supported GPU (Navi2) does not get detected.

$ omnitrace-avail
[omnitrace][4043][0][fatal] 
[omnitrace][4043][0][fatal] ERROR :: rocprofiler_iterate_info(), Translate(), ImportMetrics: bad block name 'GRBM', GFXIP is not supported(gfx90c)
jrmadsen commented 7 months ago

You can use the environment variable ROCR_VISIBLE_DEVICES to hide that device in the HSA runtime — which will cause rocprof and Omnitrace to not see that device when they iterate over the available HSA agents.