Skip to content

Commit

Permalink
fix non-async overloads in static_map
Browse files Browse the repository at this point in the history
  • Loading branch information
srinivasyadav18 committed Jul 29, 2024
1 parent d67891b commit 2125c06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/cuco/detail/static_map/static_map.inl
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ template <typename InputIt>
void static_map<Key, T, Extent, Scope, KeyEqual, ProbingScheme, Allocator, Storage>::
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();
}

Expand Down Expand Up @@ -299,7 +299,7 @@ template <typename InputIt, typename Op>
void static_map<Key, T, Extent, Scope, KeyEqual, ProbingScheme, Allocator, Storage>::
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();
}

Expand Down

0 comments on commit 2125c06

Please sign in to comment.