Skip to content

[SYCL] global size zero assertion narrowed (#22957) - #22990

Merged
KornevNikita merged 1 commit into
intel:sycl-rel-7_1from
KornevNikita:7-1-cp-7201f178e0b5e99ba9876379aa6a145654477a7d
Aug 25, 2026
Merged

[SYCL] global size zero assertion narrowed (#22957)#22990
KornevNikita merged 1 commit into
intel:sycl-rel-7_1from
KornevNikita:7-1-cp-7201f178e0b5e99ba9876379aa6a145654477a7d

Conversation

@KornevNikita

Copy link
Copy Markdown
Contributor

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

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

Copy link
Copy Markdown
Contributor Author

@KornevNikita
KornevNikita merged commit 1e1d2ad into intel:sycl-rel-7_1 Aug 25, 2026
33 of 39 checks passed
@KornevNikita
KornevNikita deleted the 7-1-cp-7201f178e0b5e99ba9876379aa6a145654477a7d branch August 25, 2026 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants