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

Convert amd_gpu.query_load() value to a percentage #544

Merged
merged 1 commit into from
Jul 24, 2024
Merged

Convert amd_gpu.query_load() value to a percentage #544

merged 1 commit into from
Jul 24, 2024

Conversation

sutaburosu
Copy link
Contributor

My RX 7800XT usage always showed 0% load. After this change, it shows a more believable figure.

The docstring in pyamdgpuinfo specifies the return value is a float between 0 and 1.

@mathoudebine
Copy link
Owner

Thanks! Crazy this was not seen before as this code is almost 2 years old. I guess not many people actually use this program with an AMD GPU on Linux?

@mathoudebine mathoudebine merged commit 5d02c7f into mathoudebine:main Jul 24, 2024
17 checks passed
@sutaburosu sutaburosu deleted the fix/amdgpu-query_load-float_to_percent branch July 24, 2024 10:47
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.

2 participants