| 44 | } |
| 45 | |
| 46 | void 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 | |
| 53 | bool OclCommand::Synchronizable() |
| 54 | { |
nothing calls this directly
no outgoing calls
no test coverage detected