oneapi-src / oneapi-src/level-zero
FYI: piglit level0 port
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 335
- Forks
- 140
- Avg merge
- 12h 32m
- Merged PRs (30d)
- 5
Description
This isn't really an issue, it's more of an FYI to level0 developers.
In the piglit open source testing project we have a bunch of CL program tests. These tests are individual files describing a test run by an test execution binary. The tests cover a bunch of CL builtins and other things. I recently added CL SPIR-V support to the testing binary, which uses clang + llvm-spirv to generate spir-v from the CL C tests.
Following on from that I've gotten basic level0 execution working from the same files.
https://gitlab.freedesktop.org/airlied/piglit/-/tree/lvl0
I've only tested this against my own level0 implementation not the intel one and I'm not even 100% confident it's working at all, but some tests to appear to pass.
This tool might be useful for writing quick tests also that just use CL C to exercise some corner cases. It doesn't have image or half support yet, and a few other things are likely broken, but I thought I'd mention it in case it was useful.
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 linked Piglit lvl0 tree and the issue's description of CL C, SPIR-V, and Level Zero execution. Compare the reported behavior with the Intel implementation and determine whether a concrete integration or test target belongs in this repository; the issue currently defines no files, tests, or acceptance criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, cpp
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100