Skip to content
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

Call zeInitDrivers in L0 provider #1101

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

igchor
Copy link
Member

@igchor igchor commented Feb 14, 2025

@igchor igchor requested a review from a team as a code owner February 14, 2025 19:53
According to the L0 spec, zeInitDrivers must be called
(by every library) before calling any other APIs.

Not calling zeInitDrivers causes crash when using
statically linked L0 loader in UR.
@igchor
Copy link
Member Author

igchor commented Feb 14, 2025

The tests are failing on CI most likely because we have an older L0 loader version installed and zeInitDrivers might not work. I'm not sure if we need to support older version so perhas we can just update the runners?

If we do need to support older version, we will probably need to implement a fallback to zeInit (which is supported by older loaders but deprecated now).

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.

2 participants