Description Usage Arguments References See Also
Adds a callback to be called on the host after all currently enqueued items in the stream have completed. For each cuStreamAddCallback call, the callback will be executed exactly once. The callback will block later work in the stream until it is finished.
1 | cuStreamAddCallback(hStream, callback, userData, flags)
|
hStream |
Stream to add callback to |
callback |
The function to call once preceding stream operations are complete |
userData |
User specified data to be passed to the callback function |
flags |
Reserved for future use, must be 0 |
http://docs.nvidia.com/cuda/cuda-driver-api/index.html
cuStreamCreate
cuStreamQuery
cuStreamSynchronize
cuStreamWaitEvent
cuStreamDestroy
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.