pub unsafe extern "C" fn cuStreamQuery(hStream: CUstream) -> CUresultExpand description
Determine status of a compute stream.
Returns cudaError_enum::CUDA_SUCCESS if all operations in the stream specified by hStream have completed, or cudaError_enum::CUDA_ERROR_NOT_READY if not.
For the purposes of Unified Memory, a return value of cudaError_enum::CUDA_SUCCESS is equivalent to having called cuStreamSynchronize.
ยงParameters
hStream: - Stream to query status of