Skip to content

Conversation

@zhaomaosu
Copy link
Contributor

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.

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.
@zhaomaosu zhaomaosu requested a review from a team as a code owner November 11, 2025 06:55
@zhaomaosu zhaomaosu requested review from a team and jinge90 November 11, 2025 06:56
}

if (getContext()->enableParameterValidation) {
if (NULL == pGlobalWorkOffset)
Copy link
Contributor Author

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

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.

1 participant