-
Notifications
You must be signed in to change notification settings - Fork 76
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
ZE_RESULT_ERROR_UNSUPPORTED_FEATURE when running zeDeviceGetStatus #102
Comments
hi @jjfumero . UNSUPPORTED_FEATURE is a generic error code we return to indicate feature has not been implemented by the L0 driver, because of either SW or HW support, or something else. In this case, L0 GPU driver is returning that, indicating it hasn't been implemented. We can update the spec with that error code to make it clearer. |
Spec could have some common "Return error values" section which would list error values that could be returned from functions. Documentation for individual functions could then just link the common error section, and document exceptions to that. |
@jandres742 Was either of those done? Or should @jjfumero file such bug against the spec project (before closing this): https://github.com/oneapi-src/level-zero-spec/issues |
Running the function
zeDeviceGetStatus
produces the error code78000003
, which isZE_RESULT_ERROR_UNSUPPORTED_FEATURE
.Output of this snippet:
[JNI] Error in zeDeviceGetStatus with code: 78000003 [JNI] Error ZE_RESULT_ERROR_UNSUPPORTED_FEATURE
However, following the Level Zero SPEC, https://spec.oneapi.io/level-zero/latest/core/api.html?highlight=zedevicegetstatus#zedevicegetstatus, this function does not return such as error code.
Does this function need hardware support? Is this an error in the implementation?
Some context:
The text was updated successfully, but these errors were encountered: