File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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.
58805882This is to guarantee that the state of memory objects is up-to-date and that
58815883they are accessible outside of OpenCL.
58825884
You can’t perform that action at this time.
0 commit comments