pub unsafe extern "C" fn cudaStreamWaitEvent(
stream: cudaStream_t,
event: cudaEvent_t,
flags: c_uint,
) -> cudaError_tExpand description
Make a compute stream wait on an event.
Makes all future work submitted to stream wait for all work captured in event. See cudaEventRecord for details on what is captured by an event. The synchronization will be performed efficiently on the device when applicable. event may be from a different device than stream.
flags include.
ยงParameters
stream: Stream to wait.event: Event to wait on.flags: Parameters for the operation(See above).