Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: expose function for listening to policy violations on a specifi…
…c GPU group (#73) == Motivation == Enable finer grained GPU policy violation tracking == Details == The current go-dcgm library exposes a way to listen to policy violations across all GPUs. While this is useful, it does not enable users to understand exactly which GPUs are experiencing issues. Ideally, users would also be able to listen to policy violations on specific groups which could be created on a per-gpu basis. This would allow users to then know when specific GPUs were experiencing issues. This change exposes a new function, ListenForPolicyViolationsForGroup, which takes a GroupHandle passed by the user and listens to policy violations for that group. It also modifies ListenForPolicyViolations to use this new function, but with specifying the group for all GPUs — so no net change in behavior. Co-authored-by: sanjams <[email protected]>
- Loading branch information