-
Notifications
You must be signed in to change notification settings - Fork 205
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
Gpu levelzero sidecar #1803
Gpu levelzero sidecar #1803
Conversation
fc65eff
to
d3afded
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few doc comments.
PS. I would also suggest running following (untested) command on the code to fix PCI abbreviation use in error messages:
sed -i 's/ pci / PCI /' $(git grep -l ' pci ')
4312bf0
to
80440d7
Compare
82a3877
to
76b1e5a
Compare
~mid third is my changes. Top third and bottom third are baseline changes. But to summarize:
|
6a923f8
to
0e6ee98
Compare
Rebased on top of the CDI changes. Also added an e2e test for the levelzero deployment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved. There were few minor C-code items which could be fixed before merge.
should it be mentioned somewhere that these new features are not available for the operator users? |
Sure, I'll add a note. This PR is large enough as it is so I didn't want to touch the operator use case. Once this is merged, I'll tackle the operator support. |
0e6ee98
to
089138a
Compare
Rebased the content. Added C fixes, fixed compile flags for the build and decided to change the levelzero enabling to a boolean (instead of a unis socket path). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, looks OK on quick review.
Since I broke wsl in the previous commits, I verified it to work on the current HEAD. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Signed-off-by: Tuomas Katila <[email protected]>
In addition to the levelzero's health data use, this adds support to scan devices in WSL. Scanning happens by retrieving Intel device indices from the Level-Zero API. Signed-off-by: Tuomas Katila <[email protected]>
Co-authored-by: Eero Tamminen <[email protected]> Signed-off-by: Tuomas Katila <[email protected]>
Signed-off-by: Tuomas Katila <[email protected]>
Signed-off-by: Tuomas Katila <[email protected]>
Signed-off-by: Tuomas Katila <[email protected]>
1b2ba17
to
291798e
Compare
Squashed commits, no code changes. |
Add GPU Levelzero sidecar to allow fetching health data for the GPU devices from the Levelzero API.
As a bonus, this also adds support for detecting Intel GPUs within Windows Subsystem for Linux (WSL).