Skip to content

Commit a013728

Browse files
committed
clarify clEnqueueReleaseExternalMemObjectsKHR
1 parent 9b1d67d commit a013728

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

api/opencl_runtime_layer.asciidoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5875,10 +5875,10 @@ include::{generated}/api/protos/clEnqueueReleaseExternalMemObjectsKHR.txt[]
58755875
command to complete.
58765876

58775877
Applications must release the memory objects that are acquired using
5878-
{clEnqueueReleaseExternalMemObjectsKHR} before using them through any
5879-
commands in the other API.
5880-
This is to guarantee that the state of memory objects is up-to-date and they
5881-
are accessible to the other API.
5878+
{clEnqueueReleaseExternalMemObjectsKHR} before using them through any commands
5879+
outside of OpenCL.
5880+
This is to guarantee that the state of memory objects is up-to-date and that
5881+
they are accessible outside of OpenCL.
58825882

58835883
The following restrictions shall apply:
58845884

@@ -7619,7 +7619,7 @@ in _mem_objects_ have completed prior to executing subsequent commands in the
76197619
other API which reference these objects.
76207620

76217621
This may be accomplished portably by calling {clWaitForEvents} with the
7622-
event object returned by *clEnqueueReleaseGLObjects,* or by calling
7622+
event object returned by {clEnqueueReleaseGLObjects}, or by calling
76237623
{clFinish}.
76247624
As above, some implementations may offer more efficient methods.
76257625

0 commit comments

Comments
 (0)