-
Notifications
You must be signed in to change notification settings - Fork 788
[UR][OpenCL] Save the function pointer for clSetKernelArgMemPointerINTEL per kernel #18103
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
Conversation
I looked at the failing checks and I don't think they're caused by my changes. Is any action required on my end? Should I investigate further, or move to a newer tag? |
I gave them a retry, if its persistent then pulling in latest sycl branch would be a reasonable next step. |
This eliminates the need to query the context for the kernel and look up the function pointer in the extension function pointer cache each time a pointer is set as a kernel argument. Signed-off-by: Ben Ashbaugh <[email protected]>
Because CL_INVALID_VALUE is returned both when the size of the value being queried is incorrect and when the information being queried is unrecognized, it is difficult to differentiate between the UR INVALID_SIZE and UNSUPPORTED_ENUMERATION errors. For now, we will check for and return INVALID_SIZE first, which is what the tests are expecting.
24f0ce3
to
c86d2fc
Compare
c649022
to
c86d2fc
Compare
Great, I updated to a newer tag and it looks like all tests are passing now 👍 |
Saves the function pointer for clSetKernelArgMemPointerINTEL when the kernel is created. This eliminates the need to query the context for the kernel and look up the function pointer in the extension function pointer cache each time a pointer is set as a kernel argument.
Additionally: