-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[L0][Bindless Image] Bug fixes and sampled image support #1470
Conversation
…-usm This PR fixes read_write_*D_subregion.cpp tests on DG2.
Failure in Build - Adapters on HW (L0, Debug, clang, clang++) seems unrelated to this pr.
|
WaitList.Length, WaitList.ZeEventList)); | ||
} | ||
} else if (imageCopyFlags == UR_EXP_IMAGE_COPY_FLAG_DEVICE_TO_HOST) { | ||
uint32_t DstRowPitch = hostExtent.width * PixelSizeInBytes; | ||
uint32_t DstSlicePitch = DstRowPitch * hostExtent.height; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will there ever be a situation where slice pitch is not rowPitch * height
? Does it ever make sense to have a different value than that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DstRowPitch and DstSlicePitch are properties of host memory. They can differ from rowPitch and slicePitch of the source image.
@nrspruit could you please review? SYCL PR is at intel/llvm#13926 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@kbenzie can this PR be added to read-to-merge queue? thank you. |
I'll add the ready to merge label but please do fix the merge conflicts on intel/llvm#13926 so that its ready to go. |
done, merge conflict is resolved. thank you. |
UR PR: oneapi-src/unified-runtime#1470 --------- Co-authored-by: Kenneth Benzie (Benie) <k.benzie@codeplay.com>
This PR fixes some tests on DG2.
ZE_IMAGE_BINDLESS_EXP_FLAG_SAMPLED_IMAGE