MCPcopy Create free account
hub / github.com/XpuOS/xsched / Synchronize

Method Synchronize

platforms/opencl/hal/src/ocl_command.cpp:46–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void OclCommand::Synchronize()
47{
48 XASSERT(sync_enabled_, "synchronization is not enabled");
49 XASSERT(following_event_ != nullptr, "following event is not set");
50 OCL_ASSERT(Driver::WaitForEvents(1, &following_event_));
51}
52
53bool OclCommand::Synchronizable()
54{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected