Skip to main content

stream_synchronize

Function stream_synchronize 

Source
pub unsafe fn stream_synchronize(stream: CudaStream) -> bool
Expand description

Block until all work submitted to stream completes. Returns false on failure or if libcudart is unavailable.

ยงSafety

stream must be a live stream returned by stream_create and not yet destroyed.