Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix [Not supported] status for get_compute_process_info_by_pid #155

Closed
wants to merge 1 commit into from

Conversation

vstempen
Copy link
Contributor

On some systems [rocm-smi --showpids] reports
get_compute_process_info_by_pid, Not supported on the given system [PID] [PROCESS NAME] 1 UNKNOWN UNKNOWN UNKNOWN

get_compute_process_info_by_pid fails because cu_occupancy debugfs method is not provided on some graphics cards and GFX revisions by design

Proposing a change to return success status when only cu_occupancy debugfs method is not found and provide cu_occupancy invalidation value to mark only this parameter as UNKNOWN

On some systems [rocm-smi --showpids] reports
get_compute_process_info_by_pid, Not supported on the given system
[PID] [PROCESS NAME] 1 UNKNOWN UNKNOWN UNKNOWN

get_compute_process_info_by_pid fails because cu_occupancy debugfs method
is not provided on some graphics cards and GFX revisions by design

Proposing a change to return success status when only cu_occupancy debugfs method
is not found and provide cu_occupancy invalidation value to mark only
this parameter as UNKNOWN

Signed-off-by: Vladimir Stempen <Vladimir.Stempen@amd.com>
@dmitrii-galantsev
Copy link
Collaborator

Thanks for the change @vstempen !

Just FYI - all our changes go through internal gerrit and then get published to github.
Github PRs are OK but might be less visible.

@dmitrii-galantsev
Copy link
Collaborator

Merged internally, should make it up to develop branch in the next day.
@bill-shuzhou-liu is asking: "is this only applied to cu, or also applied to sdma and vram?"

@ppanchad-amd
Copy link

@dmitrii-galantsev Is this fix available in latest ROCm 6.1.1? Thanks!

@dmitrii-galantsev dmitrii-galantsev changed the base branch from develop to amd-staging July 8, 2024 16:34
@dmitrii-galantsev
Copy link
Collaborator

merged in 677433b
@ppanchad-amd Not sure. Please get rocm-smi version with rocm-smi --version and see if the commit is ahead of the one linked above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants