-
Notifications
You must be signed in to change notification settings - Fork 117
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
The current specification makes it impossible to support a fully read-only image format (and related cl_mem_flags
issues)
#1110
Labels
agenda
Needs Working Group Discussion
Comments
I think there is some related discussion here: #770 |
Thanks Ben! I won't try to join both discussions in a comment here. I think we're more likely to make progress in a teleconference. |
Discussed in the 2024/05/07 teleconference:
|
Arm has an idea how to proceed. No longer needs WG discussion. |
kpet
added a commit
to kpet/OpenCL-Docs
that referenced
this issue
Nov 6, 2024
Fixes KhronosGroup#1110 Change-Id: I120f66ad20f977c251b77cc42a32021cb407518e Signed-off-by: Kevin Petit <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As part of adding support for a new image format for which we can only support read access, we're bumping into the following rule (there are similar notes for clEnqueueFillBuffer, clCommandFillBufferKHR, and clCommandFillImageKHR; these notes have been there since the beginning of our git history for clEnqueueFill* commands):
Looking at Table 19. List of supported memory flag values, it seems access control flags fall into two groups:
CL_MEM_READ_WRITE
,CL_MEM_READ_ONLY
, andCL_MEM_WRITE_ONLY
specify what accesses kernels are allowed to perform on a memory object.CL_MEM_HOST_WRITE_ONLY
,CL_MEM_HOST_READ_ONLY
, andCL_MEM_HOST_NO_ACCESS
specify what accesses the host is allowed to perform on a memory object.CL_MEM_*
flags so they apply to all device commands and remove the notes on fill commands.The text was updated successfully, but these errors were encountered: