pub fn stream_ready(stream: u64) -> Result<bool>
2026-09-26: cuStreamQuery, without waiting: true when the stream’s work is done, false on CUDA_ERROR_NOT_READY (600), an error otherwise.
cuStreamQuery
true
false
CUDA_ERROR_NOT_READY