pub unsafe extern "C" fn cuEventQuery(hEvent: CUevent) -> CUresultExpand description
Queries an event’s status.
Queries the status of all work currently captured by hEvent. See cuEventRecord for details on what is captured by an event.
Returns cudaError_enum::CUDA_SUCCESS if all captured work has been completed, or cudaError_enum::CUDA_ERROR_NOT_READY if any captured work is incomplete.
For the purposes of Unified Memory, a return value of cudaError_enum::CUDA_SUCCESS is equivalent to having called cuEventSynchronize.
§Parameters
hEvent: - Event to query