Main Page
Modules
Data Structures
Stream Management
cuStreamCreate
cuStreamDestroy
cuStreamQuery
cuStreamSynchronize
cuStreamSynchronize
(
CUstream
hStream
)
Waits until the device has completed all operations in the stream specified by
hStream
.
Parameters:
hStream
- Stream to wait for
Returns:
CUDA_SUCCESS
,
CUDA_ERROR_DEINITIALIZED
,
CUDA_ERROR_NOT_INITIALIZED
,
CUDA_ERROR_INVALID_CONTEXT
,
CUDA_ERROR_INVALID_HANDLE
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cuStreamCreate
,
cuStreamDestroy
,
cuStreamQuery
Generated by Doxygen for NVIDIA CUDA Library