Skip to content

[KUBE-50] gpuagent: add GPUGetFilter to skip GPU attribute groups on … - #86

Open
bhatturu wants to merge 1 commit into
ROCm:release-v1.5.1from
bhatturu:chore/kube-50-565-gpugetfilter-v1.5.1
Open

[KUBE-50] gpuagent: add GPUGetFilter to skip GPU attribute groups on …#86
bhatturu wants to merge 1 commit into
ROCm:release-v1.5.1from
bhatturu:chore/kube-50-565-gpugetfilter-v1.5.1

Conversation

@bhatturu

Copy link
Copy Markdown
Contributor

…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

…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)
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.

1 participant