Skip to main content

cudaEventQuery

Function cudaEventQuery 

Source
pub unsafe extern "C" fn cudaEventQuery(
    event: cudaEvent_t,
) -> cudaError_t
Expand description

Queries an event’s status.

Queries the status of all work currently captured by event. See cudaEventRecord for details on what is captured by an event.

Returns cudaSuccess if all captured work has been completed, or cudaErrorNotReady if any captured work is incomplete.

For the purposes of Unified Memory, a return value of cudaSuccess is equivalent to having called cudaEventSynchronize.

§Parameters

  • event: - Event to query