Skip to content

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

Open
KornevNikita wants to merge 1 commit into
intel:sycl-rel-7_1from
KornevNikita:7-1-cp-7201f178e0b5e99ba9876379aa6a145654477a7d
Open

[SYCL] global size zero assertion narrowed (#22957)#22990
KornevNikita wants to merge 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.
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