cudaStreamWaitEvent: Make a compute stream wait on an event

Description Usage Arguments References See Also

Description

Makes all future work submitted to stream wait until event reports completion before beginning execution. This synchronization will be performed efficiently on the device. The event event may be from a different context than stream, in which case this function will perform cross-device synchronization.

Usage

1
cudaStreamWaitEvent(stream, event, flags)

Arguments

stream

Stream to wait

event

Event to wait on

flags

Parameters for the operation (must be 0)

References

http://docs.nvidia.com/cuda/cuda-driver-api/index.html

See Also

cudaStreamCreate cudaStreamCreateWithFlags cudaStreamQuery cudaStreamSynchronize cudaStreamAddCallback cudaStreamDestroy


duncantl/RCUDA documentation built on May 15, 2019, 5:26 p.m.