Skip to main content

cudaStreamSynchronize

Function cudaStreamSynchronize 

Source
pub unsafe extern "C" fn cudaStreamSynchronize(
    stream: cudaStream_t,
) -> cudaError_t
Expand description

Waits for stream tasks to complete.

Blocks until stream has completed all operations. If the cudaDeviceScheduleBlockingSync flag was set for this device, the host thread will block until the stream is finished with all of its tasks.

ยงParameters

  • stream: - Stream identifier