oneapi-src / oneapi-src/level-zero
Wrong error code after zeKernelCreate
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 335
- Forks
- 140
- Avg merge
- 12h 32m
- Merged PRs (30d)
- 5
Description
I am getting this error code 0x78000004, after trying to create a SPIRV kernel with the wrong name. The error is not listed here:
https://spec.oneapi.com/level-zero/latest/core/api.html?highlight=zecommandlistclose#zekernelcreate
This error code code corresponds to an invalid argument:
ZE_RESULT_ERROR_INVALID_ARGUMENT = 0x78000004
However, following the documentation, it should be
ZE_RESULT_ERROR_INVALID_KERNEL_NAME = 0x78000011
I am getting this for SPIR-V modules with OpenCL compute.
Some details about the environment:
Level Zero version: 284ccb089184180e34864a9f1e23971d3d736bd8
Platform: Intel(R) HD Graphics 630 [0x591b]
OpenCL version: OpenCL C 3.0
Driver: 21.12.19358
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the zeKernelCreate behavior described in the issue and compare the returned code for a SPIR-V module with an invalid kernel name against the linked Level Zero API documentation. Reproduce the case using the stated driver and platform details; the issue is done when the implementation and documented result agree, with the relevant behavior clarified or corrected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100