[SYCL] global size zero assertion narrowed (#22957) - #22989
Merged
KornevNikita merged 1 commit intoAug 21, 2026
Merged
Conversation
The SYCL 2020 spec states that "When the global size is zero, the kernel function is not executed, the local size is ignored, and any dependencies are satisfied" But we have an assert that is a bit too wide and is tripping up PyTorch. Fix is simply to narrow the assertion.
KornevNikita
temporarily deployed
to
WindowsCILock
August 21, 2026 11:00 — with
GitHub Actions
Inactive
KornevNikita
had a problem deploying
to
WindowsCILock
August 21, 2026 11:29 — with
GitHub Actions
Failure
KornevNikita
temporarily deployed
to
WindowsCILock
August 21, 2026 11:29 — with
GitHub Actions
Inactive
KornevNikita
had a problem deploying
to
WindowsCILock
August 21, 2026 11:29 — with
GitHub Actions
Failure
Contributor
Author
|
verified here https://github.com/intel/llvm/actions/runs/32487026044 |
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.
The SYCL 2020 spec states that "When the global size is zero, the kernel function is not executed, the local size is ignored, and any dependencies are satisfied"
But we have an assert that is a bit too wide and is tripping up PyTorch. Fix is simply to narrow the assertion.
cherry-pick 7201f17