Skip to content

Commit

Permalink
Fix rehash error
Browse files Browse the repository at this point in the history
  • Loading branch information
PointKernel committed Jul 23, 2024
1 parent f3a1d68 commit 24753a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/cuco/detail/open_addressing/kernels.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ CUCO_KERNEL __launch_bounds__(BlockSize) void rehash(
auto idx = cuco::detail::global_thread_id();
auto const n = storage_ref.num_windows();

while ((idx - thread_rank / cg_size) < n) {
while (idx - thread_rank < n) {
if (thread_rank == 0) { buffer_size = 0; }
block.sync();

Expand Down

0 comments on commit 24753a3

Please sign in to comment.