Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make rocm_smi.py handle disappearing PIDs
rocm_smi.py had an issue where it gets process information in 2 different places. If the process disappears in between those 2 places, a crash would occur. This fix gracefully returns in this scenario. Reading the file information from /proc instead of using the python subProcess() call was considered, but it has the drawback of not being able to read the process names of processes not owned by the caller. Change-Id: If812c4641f00da37e99defb0740f670107c8a797
- Loading branch information