oneapi-src / oneapi-src/level-zero
Loader versioning
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 335
- Forks
- 140
- Avg merge
- 12h 32m
- Merged PRs (30d)
- 5
Description
In 1.5.0 release, the signature of zeLoaderInit was changed, but there does not exist a way currently to determine what version of this symbol the library is exporting.
For reference here are the two versions of this symbol somebody might encounter:
ZE_DLLEXPORT ze_result_t ZE_APICALL zeLoaderInit();
ZE_DLLEXPORT ze_result_t ZE_APICALL zeLoaderInit(ze_init_flags_t flags);
There should exist a zeLoaderGetVersion API call to programmatically determine the loader version to ensure a correct call with the right signature can be made.
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 by reviewing the two zeLoaderInit signatures cited in the issue and the Level Zero API and loader specification. Determine the intended zeLoaderGetVersion contract and compatibility behavior; done requires an agreed API design rather than only a localized edit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100