Skip to content

Commit

Permalink
Fix contains_if_n kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
sleeepyjack committed Aug 8, 2024
1 parent 7d836b9 commit a483bf0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/cuco/detail/bloom_filter/kernels.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ CUCO_KERNEL __launch_bounds__(BlockSize) void contains_if_n(InputIt first,
if (pred(*(stencil + idx))) {
typename std::iterator_traits<InputIt>::value_type const& query{*(first + idx)};
*(out + idx) = ref.contains(query);
} else {
*(out + idx) = false;
}
idx += loop_stride;
}
Expand Down

0 comments on commit a483bf0

Please sign in to comment.