[SYCL] global size zero assertion narrowed (#22957) (#22990)
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 7201f178e0b5e99ba9876379aa6a145654477a7d
Co-authored-by: Chris Perkins <chris.perkins@intel.com>