From cd4059155f78fbe04f00cbd9e5d863040a370791 Mon Sep 17 00:00:00 2001 From: "Corey J. Nolet" Date: Thu, 2 Feb 2023 15:32:01 -0500 Subject: [PATCH] Removing interruptible from basic handle sync. (#1224) * Removing interruptible from basic handle sync. * Adding todo and referencing github issue --- cpp/include/raft/core/resource/cuda_stream.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cpp/include/raft/core/resource/cuda_stream.hpp b/cpp/include/raft/core/resource/cuda_stream.hpp index 318252199e..fc69f10d83 100644 --- a/cpp/include/raft/core/resource/cuda_stream.hpp +++ b/cpp/include/raft/core/resource/cuda_stream.hpp @@ -91,7 +91,10 @@ inline void set_cuda_stream(resources const& res, rmm::cuda_stream_view stream_v */ inline void sync_stream(const resources& res, rmm::cuda_stream_view stream) { - interruptible::synchronize(stream); + // TODO: Fix interruptible segfault: + // https://github.com/rapidsai/raft/issues/1225 + // interruptible::synchronize(stream); + RAFT_CUDA_TRY(cudaStreamSynchronize(stream)); } /**