MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / waitForEvents

Method waitForEvents

include/CL/opencl.hpp:3551–3561  ·  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

3549 * Wraps clWaitForEvents().
3550 */
3551 static cl_int
3552 waitForEvents(const vector<Event>& events)
3553 {
3554 static_assert(sizeof(cl::Event) == sizeof(cl_event),
3555 "Size of cl::Event must be equal to size of cl_event");
3556
3557 return detail::errHandler(
3558 ::clWaitForEvents(
3559 (cl_uint) events.size(), (events.size() > 0) ? (cl_event*)&events.front() : nullptr),
3560 __WAIT_FOR_EVENTS_ERR);
3561 }
3562};
3563
3564#if CL_HPP_TARGET_OPENCL_VERSION >= 110

Callers

nothing calls this directly

Calls 3

errHandlerFunction · 0.85
clWaitForEventsFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected