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

Question: Is there a way to find all processes that are using the GPU #17

Open
logicminds opened this issue Feb 12, 2024 · 0 comments
Open

Comments

@logicminds
Copy link

logicminds commented Feb 12, 2024

I am looking to create a list of attached processes per GPU. For nvidia I am using nvidia-smi -i #{index} --query-compute-apps=pid --format=csv,noheader and was wondering if I can do the same for AMD gpus via OpenCL?

Right now I am scanning the /proc/pid/fd directory and matching device drivers to see that a process is using a GPU but I need to be more granular and find out which process is using which GPU because I might have multiple GPUs and processes. Also /proc often has multiple

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

No branches or pull requests

1 participant