Description Usage Arguments References See Also
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.
1 | cudaStreamWaitEvent(stream, event, flags)
|
stream |
Stream to wait |
event |
Event to wait on |
flags |
Parameters for the operation (must be 0) |
http://docs.nvidia.com/cuda/cuda-driver-api/index.html
cudaStreamCreate
cudaStreamCreateWithFlags
cudaStreamQuery
cudaStreamSynchronize
cudaStreamAddCallback
cudaStreamDestroy
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.