Skip to content

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

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

[SYCL] global size zero assertion narrowed (#22957)#22989
KornevNikita merged 1 commit into
intel:sycl-rel-7_0from
KornevNikita: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 f6de1a6 into intel:sycl-rel-7_0 Aug 21, 2026
16 of 19 checks passed
@KornevNikita
KornevNikita deleted the cp-7201f178e0b5e99ba9876379aa6a145654477a7d branch August 21, 2026 16:04
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