From 2125c0676ab5392d0bbed7d9597443c62c1174fe Mon Sep 17 00:00:00 2001 From: Srinivas Yadav Singanaboina Date: Mon, 29 Jul 2024 15:49:03 +0000 Subject: [PATCH] fix non-async overloads in static_map --- include/cuco/detail/static_map/static_map.inl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/cuco/detail/static_map/static_map.inl b/include/cuco/detail/static_map/static_map.inl index e2f7aae71..58d339e1a 100644 --- a/include/cuco/detail/static_map/static_map.inl +++ b/include/cuco/detail/static_map/static_map.inl @@ -261,7 +261,7 @@ template void static_map:: insert_or_assign(InputIt first, InputIt last, cuda::stream_ref stream) { - return this->insert_or_assign_async(first, last, stream); + this->insert_or_assign_async(first, last, stream); stream.wait(); } @@ -299,7 +299,7 @@ template void static_map:: insert_or_apply(InputIt first, InputIt last, Op op, cuda::stream_ref stream) { - return this->insert_or_apply_async(first, last, op, stream); + this->insert_or_apply_async(first, last, op, stream); stream.wait(); }