llvm
llvm copied to clipboard
[SYCL] Fix 2D slicepitch info
Make slicePitch equal to image size and numSlices 1 for a 2D image.
This was incorrect but wasn't failing as many backends ignore Pitch[1] for a 2D image.