cudaError_t cudaStreamQuery ( cudaStream_t  stream  ) 

Returns cudaSuccess if all operations in stream have completed, or cudaErrorNotReady if not.

Parameters:
stream - Stream identifier
Returns:
cudaSuccess, cudaErrorNotReady cudaErrorInvalidResourceHandle
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cudaStreamCreate, cudaStreamWaitEvent, cudaStreamSynchronize, cudaStreamDestroy


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA