[KUBE-50] gpuagent: add GPUGetFilter to skip GPU attribute groups on … - #86
Open
bhatturu wants to merge 1 commit into
Open
[KUBE-50] gpuagent: add GPUGetFilter to skip GPU attribute groups on …#86bhatturu wants to merge 1 commit into
bhatturu wants to merge 1 commit into
Conversation
…GPUGet Port pensando/sw#119031 onto the GIM 9.1.0.K base. GPUGetRequest carries an optional GPUGetFilter of 11 per-attribute Skip* flags (unset fetches all). aga_gpu_read/read_all/gpu_entry::read take the filter and pass it to the smi fill paths; each collector in the amdsmi, gimamdsmi and mock backends is gated by its Skip* bit (AGA_GPU_SKIP). gpuctl gains --skip-* flags. This lets a client (DME) drop the expensive KFD process walk and other unneeded collectors from the default GPUGet path (KUBE-50). (cherry picked from commit 46a5c25)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…GPUGet
Port pensando/sw#119031 onto the GIM 9.1.0.K base. GPUGetRequest carries an optional GPUGetFilter of 11 per-attribute Skip* flags (unset fetches all). aga_gpu_read/read_all/gpu_entry::read take the filter and pass it to the smi fill paths; each collector in the amdsmi, gimamdsmi and mock backends is gated by its Skip* bit (AGA_GPU_SKIP). gpuctl gains --skip-* flags.
This lets a client (DME) drop the expensive KFD process walk and other unneeded collectors from the default GPUGet path (KUBE-50).
(cherry picked from commit 46a5c25)
Motivation
Technical Details
Test Plan
Test Result
Submission Checklist