pub unsafe extern "C" fn cudaEventSynchronize(
event: cudaEvent_t,
) -> cudaError_tExpand description
Waits for an event to complete.
Waits until the completion of all work currently captured in event. See cudaEventRecord for details on what is captured by an event.
Waiting for an event that was created with the cudaEventBlockingSync flag will cause the calling CPU thread to block until the event has been completed by the device. If the cudaEventBlockingSync flag has not been set, then the CPU thread will busy-wait until the event has been completed by the device.
ยงParameters
event: - Event to wait for