Skip to content
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

[L0] Implement Support for zeInitDrivers #2303

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nrspruit
Copy link
Contributor

@nrspruit nrspruit commented Nov 8, 2024

  • As of v1.10 of the L0 spec, zeInit and zeDriverGet is the old init pathway and the desired init api is zeInitDrivers. This new api allows for multi heterogenous drivers to coexist in a single L0 Process.

@github-actions github-actions bot added the level-zero L0 adapter specific issues label Nov 8, 2024
nrspruit added a commit to nrspruit/llvm that referenced this pull request Nov 8, 2024
nrspruit added a commit to nrspruit/llvm that referenced this pull request Nov 8, 2024
nrspruit added a commit to nrspruit/llvm that referenced this pull request Nov 8, 2024
@nrspruit nrspruit force-pushed the zeInitDrivers branch 7 times, most recently from bfa343d to 42b88fb Compare November 8, 2024 18:53
@nrspruit
Copy link
Contributor Author

nrspruit commented Nov 9, 2024

Found a race condition in the loader which will be fixed here: oneapi-src/level-zero#232

Once the loader update is made and released, I will rebase this change.

nrspruit added a commit to nrspruit/llvm that referenced this pull request Nov 9, 2024
nrspruit added a commit to nrspruit/llvm that referenced this pull request Nov 9, 2024
nrspruit added a commit to nrspruit/llvm that referenced this pull request Nov 13, 2024
@github-actions github-actions bot added the ci/cd Continuous integration/devliery label Nov 13, 2024
nrspruit added a commit to nrspruit/llvm that referenced this pull request Nov 13, 2024
@nrspruit nrspruit force-pushed the zeInitDrivers branch 2 times, most recently from 50789b1 to 8525dd3 Compare November 13, 2024 22:31
nrspruit added a commit to nrspruit/llvm that referenced this pull request Nov 13, 2024
nrspruit added a commit to nrspruit/llvm that referenced this pull request Nov 13, 2024
nrspruit added a commit to nrspruit/llvm that referenced this pull request Nov 15, 2024
@nrspruit nrspruit marked this pull request as ready for review November 15, 2024 16:30
@nrspruit nrspruit requested review from a team as code owners November 15, 2024 16:30
- As of v1.10 of the L0 spec, zeInit and zeDriverGet is the old init
  pathway and the desired init api is zeInitDrivers. This new api allows
for multi heterogenous drivers to coexist in a single L0 Process.

Signed-off-by: Neil R. Spruit <[email protected]>
nrspruit added a commit to nrspruit/llvm that referenced this pull request Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/cd Continuous integration/devliery level-zero L0 adapter specific issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant