MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / enqueueMarkerWithWaitList

Method enqueueMarkerWithWaitList

include/internal/CL/cl.hpp:6243–6260  ·  view source on GitHub ↗

* Enqueues a marker command which waits for either a list of events to complete, * or all previously enqueued commands to complete. * * Enqueues a marker command which waits for either a list of events to complete, * or if the list is empty it waits for all commands previously enqueued in command_queue * to complete before it completes. This command returns an event whi

Source from the content-addressed store, hash-verified

6241 * have completed.
6242 */
6243 cl_int enqueueMarkerWithWaitList(
6244 const VECTOR_CLASS<Event> *events = 0,
6245 Event *event = 0)
6246 {
6247 cl_event tmp;
6248 cl_int err = detail::errHandler(
6249 ::clEnqueueMarkerWithWaitList(
6250 object_,
6251 (events != NULL) ? (cl_uint) events->size() : 0,
6252 (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL,
6253 (event != NULL) ? &tmp : NULL),
6254 __ENQUEUE_MARKER_WAIT_LIST_ERR);
6255
6256 if (event != NULL && err == CL_SUCCESS)
6257 *event = tmp;
6258
6259 return err;
6260 }
6261
6262 /**
6263 * A synchronization point that enqueues a barrier operation.

Callers

nothing calls this directly

Calls 2

errHandlerFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected