diff --git a/include/cuco/detail/open_addressing/open_addressing_impl.cuh b/include/cuco/detail/open_addressing/open_addressing_impl.cuh index 83cc32b09..9dabff990 100644 --- a/include/cuco/detail/open_addressing/open_addressing_impl.cuh +++ b/include/cuco/detail/open_addressing/open_addressing_impl.cuh @@ -415,7 +415,7 @@ class open_addressing_impl { FoundIt found_begin, InsertedIt inserted_begin, Ref container_ref, - cuda_stream_ref stream) noexcept + cuda::stream_ref stream) noexcept { auto const num_keys = cuco::detail::distance(first, last); if (num_keys == 0) { return; } @@ -423,7 +423,7 @@ class open_addressing_impl { auto const grid_size = cuco::detail::grid_size(num_keys, cg_size); detail::insert_and_find - <<>>( + <<>>( first, num_keys, found_begin, inserted_begin, container_ref); } diff --git a/include/cuco/detail/static_set/static_set.inl b/include/cuco/detail/static_set/static_set.inl index 3f4d92383..bff86ab54 100644 --- a/include/cuco/detail/static_set/static_set.inl +++ b/include/cuco/detail/static_set/static_set.inl @@ -187,10 +187,10 @@ void static_set InputIt last, FoundIt found_begin, InsertedIt inserted_begin, - cuda_stream_ref stream) + cuda::stream_ref stream) { insert_and_find_async(first, last, found_begin, inserted_begin, stream); - stream.synchronize(); + stream.wait(); } template InputIt last, FoundIt found_begin, InsertedIt inserted_begin, - cuda_stream_ref stream) noexcept + cuda::stream_ref stream) noexcept { impl_->insert_and_find_async( first, last, found_begin, inserted_begin, ref(op::insert_and_find), stream); diff --git a/include/cuco/static_set.cuh b/include/cuco/static_set.cuh index 3d6085eaf..2ae20ed74 100644 --- a/include/cuco/static_set.cuh +++ b/include/cuco/static_set.cuh @@ -365,7 +365,7 @@ class static_set { InputIt last, FoundIt found_begin, InsertedIt inserted_begin, - cuda_stream_ref stream = {}) noexcept; + cuda::stream_ref stream = {}) noexcept; /** * @brief Inserts all elements in the range `[first, last)`. @@ -393,7 +393,7 @@ class static_set { InputIt last, FoundIt found_begin, InsertedIt inserted_begin, - cuda_stream_ref stream = {}); + cuda::stream_ref stream = {}); /** * @brief Erases keys in the range `[first, last)`.