-
Notifications
You must be signed in to change notification settings - Fork 237
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
Releases with zesInit() implemented or unsupported #650
Comments
@bgoglin zesInitbased implementation is not fully complete and we are working on it and please let me know your test / reproduction step where you are seeing **unsupported ** , will investigate and update you |
I installed packages from the latest compute-runtime release (https://github.com/intel/compute-runtime/releases/tag/23.13.26032.30) on a Debian bookworm running Linux kernel 6.1. This is a laptop with an old Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz. |
thanks @bgoglin we will look into it and update you the fix |
I just discovered that zesInit() returns 0 instead of 0x78000003 if ZES_ENABLE_SYSMAN=1 is set in the environment. If took me quite a bit of time to understand why things weren't failing anymore, so I am writing it here in case it helps you reproduce the issue. |
Looks like zesInit() works now? Using these packages: |
From git log, I'd say it's this commit:
which first appeared in tag 23.26.26690.12. |
@bgoglin can we close this issue now? if zesInit is working for you ? |
The question was rather: Could you explictly list which releases have a unsupported zesInit() ? We are going to tell users to avoid these releases. Either they use newer releases with zesInit(). Or they use older releases without zesInit() at all and we'll set ZES_ENABLE_SYSMAN=1 in the library constructor. |
please start using new releases with zesInit () |
@saik-intel |
When looking at last tag series preceding the 23.26.x one:
=> anything with tag number smaller than |
@bgoglin Does above answer your question i.e. can this be closed? |
"anything with tag number smaller than 23.26.26690.12", do you also mean released in 2023 ? (equivalent to starting with "23." ?) |
Looking at the Git content... While L0 1.5 i.e. |
@bgoglin can we close this issue now ? |
@saik-intel While relevant backend version is now known, i.e. this can be closed, it still requires manual setup outside the L0 application itself. Proper support would require also L0 frontend (init return values) to be fixed, so that clients can differentiate between total backend failure (due to missing HW or wrong kernel driver), and missing backend functionality (due to too old backend version). See: oneapi-src/level-zero#140 |
Agreed, this issue can be closed but user code is still hard to maintain. |
zesInit() might be the right way to finally fix oneapi-src/level-zero#36 but current releases provide zesInit() without actually implementing it (it returns "unsupported feature" in 26032.30).
I know we are supposed to handle API errors, but this means we should do a runtime check at configure time before enabling zesInit() in our code. We can't do a runtime-check at runtime because it would be too late to fallback to setting ZES_ENABLE_SYSMAN=1 (has to be done very early in the process, ideally inside a library constructor).
When are you planning to publish a compute-runtime release with proper support for zesInit()? It seems to in the git tree already.
Could you explictly list which releases have a unsupported zesInit() ? We are going to tell users to avoid these releases. Either they use newer releases with zesInit(). Or they use older releases without zesInit() at all and we'll set ZES_ENABLE_SYSMAN=1 in the library constructor.
The text was updated successfully, but these errors were encountered: