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

Missing documentation on zesInit usage #307

Open
bellekal opened this issue May 20, 2024 · 0 comments
Open

Missing documentation on zesInit usage #307

bellekal opened this issue May 20, 2024 · 0 comments

Comments

@bellekal
Copy link
Contributor

Description
https://spec.oneapi.io/level-zero/latest/sysman/api.html - Spec says zesInit will only initialize sysman. To initialize other functions, call zeInit. But inorder for both to work, it should be clearly documented that Sysman is not initialized before using zeInit + ZES_ENABLE_SYSMAN=1 i.e Either zeInit + zesInit both can be used only if ZES_ENABLE_SYSMAN is not set.

Also, zesDriverGet, zesDeviceGet and few newer APIs only work when initialized using zesInit and won't work when initialized with zeInit + ZES_ENABLE_SYSMAN.

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

No branches or pull requests

1 participant