-
Notifications
You must be signed in to change notification settings - Fork 794
[DevASAN] Move memory alloc info into DeviceInfo #20611
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
base: sycl
Are you sure you want to change the base?
Conversation
Since CPU/GPU device both support USM indirect access, we need to poison shadow of whole allocated memory in the device instead of only one context.
| } | ||
|
|
||
| if (getContext()->enableParameterValidation) { | ||
| if (NULL == pGlobalWorkOffset) |
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.
I think pGlobalWorkOffset can be null, at least that's what the OpenCL specification says: https://registry.khronos.org/OpenCL/specs/3.0-unified/html/OpenCL_API.html#clGetKernelSuggestedLocalWorkSizeKHR
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.
reverted this change, let UR team to decide whether to update this API.
|
I think this PR is causing UR hangs, please make sure it's fixed before running CI again, thanks. |
Since CPU/GPU device both support USM indirect access, we need to poison shadow of whole allocated memory in the device instead of only one context.