Skip to content

Commit 41b9cd8

Browse files
committed
additional clarifications
1 parent a013728 commit 41b9cd8

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

api/opencl_runtime_layer.asciidoc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5874,9 +5874,11 @@ include::{generated}/api/protos/clEnqueueReleaseExternalMemObjectsKHR.txt[]
58745874
application to query the status of this command or queue a wait for this
58755875
command to complete.
58765876

5877-
Applications must release the memory objects that are acquired using
5878-
{clEnqueueReleaseExternalMemObjectsKHR} before using them through any commands
5879-
outside of OpenCL.
5877+
Applications must release memory objects that were acquired using
5878+
{clEnqueueReleaseExternalMemObjectsKHR} before using any external memory
5879+
handles that were specified when the memory objects were created or accessing
5880+
the external memory that these handles represent outside of OpenCL, otherwise
5881+
behavior is undefined.
58805882
This is to guarantee that the state of memory objects is up-to-date and that
58815883
they are accessible outside of OpenCL.
58825884

0 commit comments

Comments
 (0)