Skip to main content

event_query

Function event_query 

Source
pub fn event_query(event: CudaEvent) -> CudaRtResult<bool>
Expand description

Query whether event has been recorded.

Mirrors cudaEventQuery.

Returns Ok(true) if complete, Ok(false) if not yet reached.

ยงErrors

Propagates driver errors other than NotReady.