Skip to main content

stream_query

Function stream_query 

Source
pub fn stream_query(stream: CudaStream) -> CudaRtResult<bool>
Expand description

Check whether all preceding operations in stream have completed.

Mirrors cudaStreamQuery.

Returns Ok(true) if complete, Ok(false) if still running.

ยงErrors

Propagates driver errors (other than NotReady).