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

Method waitForEvents

include/internal/CL/cl.hpp:2947–2954  ·  view source on GitHub ↗

! \brief Blocks the calling thread until every event specified is complete. * * Wraps clWaitForEvents(). */

Source from the content-addressed store, hash-verified

2945 * Wraps clWaitForEvents().
2946 */
2947 static cl_int
2948 waitForEvents(const VECTOR_CLASS<Event>& events)
2949 {
2950 return detail::errHandler(
2951 ::clWaitForEvents(
2952 (cl_uint) events.size(), (events.size() > 0) ? (cl_event*)&events.front() : NULL),
2953 __WAIT_FOR_EVENTS_ERR);
2954 }
2955};
2956
2957#if defined(CL_VERSION_1_1)

Callers

nothing calls this directly

Calls 2

errHandlerFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected