-
Notifications
You must be signed in to change notification settings - Fork 123
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
ur: add enqueue fill image #50
Comments
Turns out this is already added to the spec, but does not appear in the generated header since it's not supported by level-zero |
We should discuss why there are disabled entry points with the WG. |
Along with |
I suppose we do not need to add these entry-points |
If these are necessary to implement SYCL 2020, they should be added to the UR spec. |
Based on discussion with @AerialMantis it does not appear that these commands are required for SYCL 2020 because it is only possible to Resolution of this issue, should be to remove the currently disabled |
Previously these were "hidden" entry points excluded from generating any code by setting their versions to "9999.0". Issue oneapi-src#50 goes into detail about why this was done, and concludes that the entry points should be removed but we never got around to it at the time.
These entry points are still in the spec files. I would have already opened the PR to get them deleted but strangely MemImageFill does appear to get used in the sycl runtime: https://github.com/intel/llvm/blob/sycl/sycl/source/detail/memory_manager.cpp#L851 and not just in a sort of stubbed out helper function or whatever. I think what's happening here is that SYCL has this Technically I think we could implement ImageFill for all the adapters that support images, but for everything that isn't opencl it would basically be a regular fill with the additional faff of keeping track of which mem_obj belongs to which image and figuring out what our pixel size and strides etc are. All that seems kind of pointless when that one use that I linked has that info on hand and leaves it out when it calls the ImageFill entry point instead of the BufferFill one. Anyway we should probably bring this up to sycl maintainer people because if we delete ImageFill now we should also figure out how we can delete it from PI and memory_manager so it doesn't come back to bite us later when it's time to port. |
PI currently has an API function
piEnqueueMemImageFill
which is analogous to the openCL versionclEnqueueFillImage
We should add this to Unified Runtime
The text was updated successfully, but these errors were encountered: