From b2a000d920dd853acadbb0847936d90f6abb4a43 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Fri, 28 Aug 2026 13:08:49 -0500 Subject: [PATCH] Use cuda::stream_ref stream synchronization --- cpp/src/routing/utilities/cython.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/routing/utilities/cython.cu b/cpp/src/routing/utilities/cython.cu index 5a0b9bf6b2..8563c18671 100644 --- a/cpp/src/routing/utilities/cython.cu +++ b/cpp/src/routing/utilities/cython.cu @@ -125,7 +125,7 @@ std::vector> call_batch_solve( auto routing_solution = cuopt::routing::solve(*data_models[i], *settings); // Make sure current solve is finished - stream_pool.get_stream(i).synchronize(); + stream_pool.get_stream(i).sync(); // Create buffers and reassociate them with the original stream so they // outlive the local stream which will be destroyed at end of loop iteration