pub unsafe extern "C" fn cudaStreamQuery(
stream: cudaStream_t,
) -> cudaError_tExpand description
Queries an asynchronous stream for completion status.
Returns cudaSuccess if all operations in stream have completed, or cudaErrorNotReady if not.
For the purposes of Unified Memory, a return value of cudaSuccess is equivalent to having called cudaStreamSynchronize.
ยงParameters
stream: - Stream identifier