File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6038,11 +6038,13 @@ include::{generated}/api/protos/clEnqueueReleaseExternalMemObjectsKHR.txt[]
60386038 application to query the status of this command or queue a wait for this
60396039 command to complete.
60406040
6041- Applications must release the memory objects that are acquired using
6042- {clEnqueueReleaseExternalMemObjectsKHR} before using them through any
6043- commands in the other API.
6044- This is to guarantee that the state of memory objects is up-to-date and they
6045- are accessible to the other API.
6041+ Applications must release memory objects that were acquired using
6042+ {clEnqueueReleaseExternalMemObjectsKHR} before using any external memory
6043+ handles that were specified when the memory objects were created or accessing
6044+ the external memory that these handles represent outside of OpenCL, otherwise
6045+ behavior is undefined.
6046+ This is to guarantee that the state of memory objects is up-to-date and that
6047+ they are accessible outside of OpenCL.
60466048
60476049The following restrictions shall apply:
60486050
@@ -7783,7 +7785,7 @@ in _mem_objects_ have completed prior to executing subsequent commands in the
77837785other API which reference these objects.
77847786
77857787This may be accomplished portably by calling {clWaitForEvents} with the
7786- event object returned by * clEnqueueReleaseGLObjects,* or by calling
7788+ event object returned by { clEnqueueReleaseGLObjects}, or by calling
77877789{clFinish}.
77887790As above, some implementations may offer more efficient methods.
77897791
You can’t perform that action at this time.
0 commit comments