-
Notifications
You must be signed in to change notification settings - Fork 753
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
Enable level zero v2 in DPC++ #16656
Open
omarahmed1111
wants to merge
8
commits into
intel:sycl
Choose a base branch
from
omarahmed1111:enable-level-zero-v2
base: sycl
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+22
−11
Open
Changes from 4 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
123099e
Enable level_zero_v2 on sycl
omarahmed1111 cbbdcec
Update UR tag
omarahmed1111 436c0e6
Change to only build one adapter
omarahmed1111 328b88f
Merge branch 'sycl' into enable-level-zero-v2
omarahmed1111 a80036d
Remove the l0 envvar assign
omarahmed1111 d73e2f7
formatting
omarahmed1111 85055dc
Merge branch 'sycl' into enable-level-zero-v2
omarahmed1111 2cd1aa2
fix configure.py formatting
omarahmed1111 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# commit 3a1b4c7b9ba952fad6f6ad36c01101bbf368347b | ||
# Merge: c270a6b8 264d0468 | ||
# commit c5bf8fd5c92ab7a24b439cd89cefc9cd425ec787 | ||
# Merge: e6d4355f 778085f7 | ||
# Author: Kenneth Benzie (Benie) <[email protected]> | ||
# Date: Tue Jan 28 15:16:58 2025 +0000 | ||
# Merge pull request #2594 from kbenzie/benie/cl-core-functions-no-dlopen | ||
# Fix invalid use of dlopen() | ||
set(UNIFIED_RUNTIME_TAG 3a1b4c7b9ba952fad6f6ad36c01101bbf368347b) | ||
# Date: Mon Jan 13 10:41:50 2025 +0000 | ||
# Merge pull request #2479 from aarongreig/aaron/parameterizeDeviceTests | ||
# Parameterize CTS tests across all available adapters and devices. | ||
set(UNIFIED_RUNTIME_TAG 58ccaa9781af27192bb4dcab6b71193f7b016f50) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will only set the env variable for the build process. We either need to change the ur loader again is that the v2 is loaded unconditionally (but i'm not sure about that, the L0 adapter might be in other searchable OS paths, and we'd end up with two adapters anyway) or set this env variable somewhere in SYCL rt init if this compile option is set.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried to think in an easy way to do the second option and make the compile option consistent in defining the env variable, but I think we will always need the user to define the
UR_ADAPTER_LEVEL_ZERO_V2
, I guess we could just depend on the user to define it, or we could define another dpc++ env variable that the user could define if that would make it more clear.The first option seems the simpler one, but with the probability of reporting still 2 l0 adapters.
I am not sure which one is better, but I think we could just for simplicity go with the first suggestion of just registering the two
l0/l0_v2
adapters, and let dpc++ control that with the compile option.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense, I agree. I already approved the UR change. Thanks.