pub unsafe extern "C" fn hipEventSynchronize(
    event: *mut ihipEvent_t
) -> hipError_t
Expand description

@brief Wait for an event to complete.

This function will block until the event is ready, waiting for all previous work in the stream specified when event was recorded with hipEventRecord().

If hipEventRecord() has not been called on @p event, this function returns immediately.

TODO-hip- This function needs to support hipEventBlockingSync parameter.

@param[in] event Event on which to wait. @returns #hipSuccess, #hipErrorInvalidValue, #hipErrorNotInitialized, #hipErrorInvalidHandle, #hipErrorLaunchFailure

@see hipEventCreate, hipEventCreateWithFlags, hipEventQuery, hipEventDestroy, hipEventRecord, hipEventElapsedTime