level-zero icon indicating copy to clipboard operation
level-zero copied to clipboard

ZE_RESULT_ERROR_UNSUPPORTED_FEATURE when running zeDeviceGetStatus

Open jjfumero opened this issue 1 year ago • 3 comments

Running the function zeDeviceGetStatus produces the error code 78000003, which is ZE_RESULT_ERROR_UNSUPPORTED_FEATURE.

    result = zeDeviceGetStatus(device);
    if (result != ZE_RESULT_SUCCESS) {
        std::cout << "[JNI] Error in zeDeviceGetStatus with code: " << std::hex << result << std::dec << std::endl;
        if (result == ZE_RESULT_ERROR_UNSUPPORTED_FEATURE) {
            std::cout << "[JNI] Error ZE_RESULT_ERROR_UNSUPPORTED_FEATURE " << std::endl;
        }
    }

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:

  • OS: OpenSUSE 15.4
  • Compute-Runtime: 22.23.23405
  • Level Zero Loader: https://github.com/oneapi-src/level-zero/commit/32c4431d731bc2ba7b5b88b32335063efa65e076
  • Intel HD Graphics: UHD Graphics 770

jjfumero avatar Oct 28 '22 08:10 jjfumero