Repository navigation
Fix Level Zero skip messages in tests - #2437
Open
ndgrigorian wants to merge 2 commits into
Open
ndgrigorian wants to merge 2 commits into
ndgrigorian wants to merge 2 commits into
Conversation
ndgrigorian
requested review from
antonwolfy and
vlad-perevezentsev
as code owners
December 2, 2026 21:21
|
View rendered docs @ https://intelpython.github.io/dpctl/pulls/2437/index.html |
Collaborator
ndgrigorian
force-pushed
the
fix-local-accessor-skip-message
branch
from
December 2, 2026 21:32
0db38a6 to
11267af
Compare
vlad-perevezentsev
left a comment
Collaborator
There was a problem hiding this comment.
LGTM
Thank you @ndgrigorian! Just a small nit below:
| q = dpctl.SyclQueue("level_zero") | ||
| except dpctl.SyclQueueCreationError: | ||
| pytest.skip("OpenCL queue could not be created") | ||
| pytest.skip("Level Zero queue could not be created") |
Collaborator
There was a problem hiding this comment.
Nit: One more skip message of this kind is left: test_get_wait_list in dpctl/tests/test_sycl_event.py:147 creates SyclQueue("opencl:cpu") but skips with "Sycl queue for OpenCL gpu device could not be created." With only the GPU visible (ONEAPI_DEVICE_SELECTOR=level_zero:gpu) it reports the wrong device. Could this PR fix it too, as "OpenCL CPU queue could not be created" like lines 116 and 136 there?
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR fixes the skip message of
test_submit_local_accessor_arg, which creates a Level Zero queue but reported that an OpenCL queue could not be created when skippingThis PR also changes "LevelZero" to "Level Zero" in the skip messages of
test_raw_kernel_arg.pyandtest_work_group_memory.py, for consistency with the rest ofdpctl