pub trait CompletionStrategy: Send + Sync { // Required method fn await_completion( &self, stream: &Arc<CudaStream>, ) -> BoxFuture<'static, Result<(), GpuError>>; }
Return a future that resolves when all preceding work on stream has completed. Implementations differ in how completion is detected.
stream